diff --git a/src/Functions/Az.Functions.psd1 b/src/Functions/Az.Functions.psd1
index 74b726dae937..aec92419b67c 100644
--- a/src/Functions/Az.Functions.psd1
+++ b/src/Functions/Az.Functions.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 12/31/2021
+# Generated on: 3/27/2022
#
@{
@@ -115,7 +115,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Removed preview from the PowerShell 7.0 stack on Linux'
+ # ReleaseNotes = ''
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/Functions/ChangeLog.md b/src/Functions/ChangeLog.md
index 4f69780ca61d..0b16feb815dd 100644
--- a/src/Functions/ChangeLog.md
+++ b/src/Functions/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Exposed PowerShell 7.2 stack definition for function app creation in Functions V4 only
## Version 4.0.1
* Removed preview from the PowerShell 7.0 stack on Linux
diff --git a/src/Functions/Functions.sln b/src/Functions/Functions.sln
index 49b978eacbbf..1f54f934dd80 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", "{8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{96F64388-BA5F-4A78-86B6-DF8D585D0270}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{7B8EBA26-BA09-4DA8-9401-41D548053C78}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{B57CF732-25C4-4934-9A05-AE120A0F498A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{5E18030B-9F9C-4841-B978-196F9CFA3932}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{93AEFD28-5170-43FC-8E08-6EEFD586CB3C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{634797F7-1197-49EB-ACE6-F5E10E6BF277}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{4E3C2B1F-3660-4DF0-9371-DB0F391C5307}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{B51271AF-188B-47B0-B644-B3623CC5924E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Functions", "Az.Functions.csproj", "{A3315376-55B7-4212-B43D-5D1B85FC741A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Functions", "Az.Functions.csproj", "{3D65839B-6170-4D51-A8D9-D872E18D2A7A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -28,77 +28,77 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Debug|x64.ActiveCfg = Debug|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Debug|x64.Build.0 = Debug|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Debug|x86.ActiveCfg = Debug|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Debug|x86.Build.0 = Debug|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Release|Any CPU.Build.0 = Release|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Release|x64.ActiveCfg = Release|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Release|x64.Build.0 = Release|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Release|x86.ActiveCfg = Release|Any CPU
- {8A2517C3-C3A7-4EE1-83ED-F14EAF6ADA1E}.Release|x86.Build.0 = Release|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Debug|x64.ActiveCfg = Debug|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Debug|x64.Build.0 = Debug|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Debug|x86.ActiveCfg = Debug|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Debug|x86.Build.0 = Debug|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Release|Any CPU.Build.0 = Release|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Release|x64.ActiveCfg = Release|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Release|x64.Build.0 = Release|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Release|x86.ActiveCfg = Release|Any CPU
- {96F64388-BA5F-4A78-86B6-DF8D585D0270}.Release|x86.Build.0 = Release|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Debug|x64.ActiveCfg = Debug|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Debug|x64.Build.0 = Debug|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Debug|x86.ActiveCfg = Debug|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Debug|x86.Build.0 = Debug|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Release|Any CPU.Build.0 = Release|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Release|x64.ActiveCfg = Release|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Release|x64.Build.0 = Release|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Release|x86.ActiveCfg = Release|Any CPU
- {B57CF732-25C4-4934-9A05-AE120A0F498A}.Release|x86.Build.0 = Release|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Debug|x64.ActiveCfg = Debug|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Debug|x64.Build.0 = Debug|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Debug|x86.ActiveCfg = Debug|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Debug|x86.Build.0 = Debug|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Release|Any CPU.Build.0 = Release|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Release|x64.ActiveCfg = Release|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Release|x64.Build.0 = Release|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Release|x86.ActiveCfg = Release|Any CPU
- {93AEFD28-5170-43FC-8E08-6EEFD586CB3C}.Release|x86.Build.0 = Release|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Debug|x64.ActiveCfg = Debug|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Debug|x64.Build.0 = Debug|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Debug|x86.ActiveCfg = Debug|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Debug|x86.Build.0 = Debug|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Release|Any CPU.Build.0 = Release|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Release|x64.ActiveCfg = Release|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Release|x64.Build.0 = Release|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Release|x86.ActiveCfg = Release|Any CPU
- {4E3C2B1F-3660-4DF0-9371-DB0F391C5307}.Release|x86.Build.0 = Release|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Debug|x64.ActiveCfg = Debug|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Debug|x64.Build.0 = Debug|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Debug|x86.ActiveCfg = Debug|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Debug|x86.Build.0 = Debug|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Release|Any CPU.Build.0 = Release|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Release|x64.ActiveCfg = Release|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Release|x64.Build.0 = Release|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Release|x86.ActiveCfg = Release|Any CPU
- {A3315376-55B7-4212-B43D-5D1B85FC741A}.Release|x86.Build.0 = Release|Any CPU
+ {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
EndGlobalSection
EndGlobal
diff --git a/src/Functions/create-model-cmdlets.ps1 b/src/Functions/create-model-cmdlets.ps1
index 2cff9c256bef..04c639459581 100644
--- a/src/Functions/create-model-cmdlets.ps1
+++ b/src/Functions/create-model-cmdlets.ps1
@@ -23,7 +23,7 @@ function CreateModelCmdlet {
}
$ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models'
- $ModuleName = 'Az.Functions'.Split(".")[1]
+ $ModuleName = ''
$OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets'
$null = New-Item -ItemType Directory -Force -Path $OutputDir
@@ -115,7 +115,9 @@ function CreateModelCmdlet {
# check whether completer is needed
$completer = '';
if($Type.Split('.').Split('.')[-2] -eq 'Support') {
- $completer += "`n [ArgumentCompleter([${Type}])]"
+ # If Type is an array, need to strip []
+ $strippedType = $Type.Replace('[]', '')
+ $completer += "`n [ArgumentCompleter([${strippedType}])]"
}
$ParameterDefineScript = "
[Parameter($ParameterDefineProperty)]${completer}
diff --git a/src/Functions/custom/FunctionsStack/LinuxFunctionsStacks.json b/src/Functions/custom/FunctionsStack/LinuxFunctionsStacks.json
index 9fe3ba854cb6..10334aaa906c 100644
--- a/src/Functions/custom/FunctionsStack/LinuxFunctionsStacks.json
+++ b/src/Functions/custom/FunctionsStack/LinuxFunctionsStacks.json
@@ -318,7 +318,7 @@
"supportedFunctionsExtensionVersions": [
"~4"
],
- "isDefault": true,
+ "isDefault": false,
"minorVersions": [],
"applicationInsights": true,
"appSettingsDictionary": {
@@ -330,7 +330,7 @@
},
"isPreview": true,
"isDeprecated": false,
- "isHidden": true
+ "isHidden": false
}
],
"frameworks": [],
diff --git a/src/Functions/custom/FunctionsStack/WindowsFunctionsStacks.json b/src/Functions/custom/FunctionsStack/WindowsFunctionsStacks.json
index 51d5ca33b568..54fdf6dfa66a 100644
--- a/src/Functions/custom/FunctionsStack/WindowsFunctionsStacks.json
+++ b/src/Functions/custom/FunctionsStack/WindowsFunctionsStacks.json
@@ -223,7 +223,7 @@
"supportedFunctionsExtensionVersions": [
"~4"
],
- "isDefault": true,
+ "isDefault": false,
"minorVersions": [],
"applicationInsights": true,
"appSettingsDictionary": {
@@ -236,7 +236,7 @@
},
"isPreview": true,
"isDeprecated": false,
- "isHidden": true
+ "isHidden": false
},
{
"displayVersion": "7.0",
diff --git a/src/Functions/examples/Get-AzFunctionApp.md b/src/Functions/examples/Get-AzFunctionApp.md
index c0bba78173c4..1f94d5e59bc2 100644
--- a/src/Functions/examples/Get-AzFunctionApp.md
+++ b/src/Functions/examples/Get-AzFunctionApp.md
@@ -1,8 +1,10 @@
### Example 1: Get all function apps.
```powershell
-PS C:\> Get-AzFunctionApp
+Get-AzFunctionApp
+```
+```output
Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
---- ------ ------ ------- -------- -------------- ----------------- --------------
Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
@@ -12,8 +14,10 @@ Functions1-Windows-Java Running Windows Java West Europe Premium1-WE Func
### Example 2: Get function apps by name.
```powershell
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
+```
+```output
Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
---- ------ ------ ------- -------- -------------- ----------------- --------------
Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
@@ -22,8 +26,10 @@ Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Funct
### Example 3: Get function apps by resource group name.
```powershell
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
+```
+```output
Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
---- ------ ------ ------- -------- -------------- ----------------- --------------
Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
@@ -32,8 +38,10 @@ Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Funct
### Example 4: Get function apps for the given subscriptions.
```powershell
-PS C:\> Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
+```
+```output
Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
---- ------ ------ ------- -------- -------------- ----------------- --------------
Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
@@ -42,8 +50,10 @@ Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Funct
### Example 5: Get function apps by location.
```powershell
-PS C:\> Get-AzFunctionApp -Location "Central US"
+Get-AzFunctionApp -Location "Central US"
+```
+```output
Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
---- ------ ------ ------- -------- -------------- ----------------- --------------
Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
diff --git a/src/Functions/examples/Get-AzFunctionAppAvailableLocation.md b/src/Functions/examples/Get-AzFunctionAppAvailableLocation.md
index 4ec8821ec672..dc9a87911a89 100644
--- a/src/Functions/examples/Get-AzFunctionAppAvailableLocation.md
+++ b/src/Functions/examples/Get-AzFunctionAppAvailableLocation.md
@@ -1,8 +1,10 @@
### Example 1: Get the locations where Premium is available for Windows. If no parameters are specified, PlanType is set to 'Premium' and OSType is set to 'Windows'.
```powershell
-PS C:\> Get-AzFunctionAppAvailableLocation
+Get-AzFunctionAppAvailableLocation
+```
+```output
Name
----
Central US
@@ -42,8 +44,10 @@ This command gets the locations where Premium is available for Windows.
### Example 2: Get the locations where Premium is available for Linux.
```powershell
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
+Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
+```
+```output
Name
----
Central US
@@ -78,8 +82,10 @@ This command gets the locations where Premium is available for Linux.
### Example 3: Get the locations where Consumption is available for Windows.
```powershell
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
+Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
+```
+```output
Name
----
Central US
diff --git a/src/Functions/examples/Get-AzFunctionAppPlan.md b/src/Functions/examples/Get-AzFunctionAppPlan.md
index a75faf6279c9..3e436b3ec171 100644
--- a/src/Functions/examples/Get-AzFunctionAppPlan.md
+++ b/src/Functions/examples/Get-AzFunctionAppPlan.md
@@ -1,8 +1,10 @@
### Example 1: Get all function app plans.
```powershell
-PS C:\> Get-AzFunctionAppPlan
+Get-AzFunctionAppPlan
+```
+```output
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
@@ -18,8 +20,10 @@ This command gets all function app plans.
### Example 2: Get function app plans by resource group name.
```powershell
-PS C:\> Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
+Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
+```
+```output
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
@@ -31,8 +35,10 @@ This command gets function app plans by resource group name.
### Example 3: Get function app plans for the given subscriptions.
```powershell
-PS C:\> Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
+Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
+```
+```output
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8z
@@ -42,8 +48,10 @@ This command gets function app plans for the given subscriptions.
### Example 4: Get function app plans by location.
```powershell
-PS C:\> Get-AzFunctionAppPlan -Location "Central US"
+Get-AzFunctionAppPlan -Location "Central US"
+```
+```output
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 Central US Func99-West-Europe-Win-Premium 3r16564a-d943-4bf8-8c28-cf01708c3f8b
diff --git a/src/Functions/examples/Get-AzFunctionAppSetting.md b/src/Functions/examples/Get-AzFunctionAppSetting.md
index faf84e7fbdad..47d4f6d6e989 100644
--- a/src/Functions/examples/Get-AzFunctionAppSetting.md
+++ b/src/Functions/examples/Get-AzFunctionAppSetting.md
@@ -1,7 +1,7 @@
### Example 1: Get the app settings of a function app.
```powershell
-PS C:\> Get-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName
+Get-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName
```
This command gets the app settings of a function app.
\ No newline at end of file
diff --git a/src/Functions/examples/Get-AzSystemAssignedIdentity.md b/src/Functions/examples/Get-AzSystemAssignedIdentity.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Get-AzSystemAssignedIdentity.md
+++ b/src/Functions/examples/Get-AzSystemAssignedIdentity.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Get-AzWebAppFunctionKey.md b/src/Functions/examples/Get-AzWebAppFunctionKey.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Get-AzWebAppFunctionKey.md
+++ b/src/Functions/examples/Get-AzWebAppFunctionKey.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Get-AzWebAppFunctionKeySlot.md b/src/Functions/examples/Get-AzWebAppFunctionKeySlot.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Get-AzWebAppFunctionKeySlot.md
+++ b/src/Functions/examples/Get-AzWebAppFunctionKeySlot.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Get-AzWebAppSettingKeyVaultReference.md b/src/Functions/examples/Get-AzWebAppSettingKeyVaultReference.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Get-AzWebAppSettingKeyVaultReference.md
+++ b/src/Functions/examples/Get-AzWebAppSettingKeyVaultReference.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Get-AzWebAppSyncStatus.md b/src/Functions/examples/Get-AzWebAppSyncStatus.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Get-AzWebAppSyncStatus.md
+++ b/src/Functions/examples/Get-AzWebAppSyncStatus.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Get-AzWebAppSyncStatusSlot.md b/src/Functions/examples/Get-AzWebAppSyncStatusSlot.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Get-AzWebAppSyncStatusSlot.md
+++ b/src/Functions/examples/Get-AzWebAppSyncStatusSlot.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Move-Az.md b/src/Functions/examples/Move-Az.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Move-Az.md
+++ b/src/Functions/examples/Move-Az.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/New-AzFunctionApp.md b/src/Functions/examples/New-AzFunctionApp.md
index 97ff5389e761..6711c56c3f92 100644
--- a/src/Functions/examples/New-AzFunctionApp.md
+++ b/src/Functions/examples/New-AzFunctionApp.md
@@ -1,11 +1,11 @@
### Example 1: Create a consumption PowerShell function app in Central US.
```powershell
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -Location centralUS `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -Location centralUS `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
```
This command creates a consumption PowerShell function app in Central US.
@@ -14,11 +14,11 @@ This command creates a consumption PowerShell function app in Central US.
```powershell
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
```
This command creates a PowerShell function app which will be hosted in a service plan.
@@ -28,12 +28,11 @@ This command creates a PowerShell function app which will be hosted in a service
Note that the service plan and storage account must exist before this operation.
```powershell
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -DockerImageName myacr.azurecr.io/myimage:tag
-
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -DockerImageName myacr.azurecr.io/myimage:tag
```
This command creates a function app using a using a private ACR image.
diff --git a/src/Functions/examples/New-AzFunctionAppPlan.md b/src/Functions/examples/New-AzFunctionAppPlan.md
index f05263b78b46..fe5dcae6398c 100644
--- a/src/Functions/examples/New-AzFunctionAppPlan.md
+++ b/src/Functions/examples/New-AzFunctionAppPlan.md
@@ -1,14 +1,13 @@
### Example 1: Create a Windows premium app plan in West Europe with burst out capability up to 10 instances.
```powershell
-PS C:\> New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -Location WestEurope `
- -MinimumWorkerCount 1 `
- -MaximumWorkerCount 10 `
- -Sku EP1 `
- -WorkerType Windows
-
+New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -Location WestEurope `
+ -MinimumWorkerCount 1 `
+ -MaximumWorkerCount 10 `
+ -Sku EP1 `
+ -WorkerType Windows
```
This command creates a Windows premium app plan in West Europe with burst out capability up to 10 instances.
\ No newline at end of file
diff --git a/src/Functions/examples/Remove-AzFunctionApp.md b/src/Functions/examples/Remove-AzFunctionApp.md
index 55ebbfe46672..c300c0db0c1a 100644
--- a/src/Functions/examples/Remove-AzFunctionApp.md
+++ b/src/Functions/examples/Remove-AzFunctionApp.md
@@ -1,7 +1,7 @@
### Example 1: Get a function app by name and delete it.
```powershell
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
```
This command gets a function app by name and delete it.
@@ -9,7 +9,7 @@ This command gets a function app by name and delete it.
### Example 2: Delete a function app by name.
```powershell
-PS C:\> Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
```
This command deletes a function app by name.
diff --git a/src/Functions/examples/Remove-AzFunctionAppPlan.md b/src/Functions/examples/Remove-AzFunctionAppPlan.md
index a0b4ad8b9d58..53cf9788d672 100644
--- a/src/Functions/examples/Remove-AzFunctionAppPlan.md
+++ b/src/Functions/examples/Remove-AzFunctionAppPlan.md
@@ -1,7 +1,7 @@
### Example 1: Get a function app plan by name and delete it.
```powershell
-PS C:\> Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
+Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
```
This command gets a function app plan by name and deletes it.
@@ -9,7 +9,7 @@ This command gets a function app plan by name and deletes it.
### Example 2: Delete a function app plan by name.
```powershell
-PS C:\> Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
```
This command deletes a function app plan by name.
diff --git a/src/Functions/examples/Remove-AzFunctionAppSetting.md b/src/Functions/examples/Remove-AzFunctionAppSetting.md
index 09638279cfd1..345d4078cf24 100644
--- a/src/Functions/examples/Remove-AzFunctionAppSetting.md
+++ b/src/Functions/examples/Remove-AzFunctionAppSetting.md
@@ -1,7 +1,7 @@
### Example 1: Remove app settings in a function app.
```powershell
-PS C:\> Remove-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSettingName "MyAppSetting1", "MyAppSetting2"
+Remove-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSettingName "MyAppSetting1", "MyAppSetting2"
```
This command removes app settings in a function app.
\ No newline at end of file
diff --git a/src/Functions/examples/Restart-AzFunctionApp.md b/src/Functions/examples/Restart-AzFunctionApp.md
index f9e70aa5818d..69fc65b4f157 100644
--- a/src/Functions/examples/Restart-AzFunctionApp.md
+++ b/src/Functions/examples/Restart-AzFunctionApp.md
@@ -1,7 +1,7 @@
### Example 1: Get a function app by name and restart it.
```powershell
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
```
This command gets a function app by name and restarts it.
@@ -9,7 +9,7 @@ This command gets a function app by name and restarts it.
### Example 2: Restart a function app by name.
```powershell
-PS C:\> Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
```
This command restarts a function app by name.
\ No newline at end of file
diff --git a/src/Functions/examples/Start-AzFunctionApp.md b/src/Functions/examples/Start-AzFunctionApp.md
index d8124eb1b416..6f0774fc7013 100644
--- a/src/Functions/examples/Start-AzFunctionApp.md
+++ b/src/Functions/examples/Start-AzFunctionApp.md
@@ -1,13 +1,13 @@
### Example 1: Get a function app by name and start it.
```powershell
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
```
This command gets a function app by name and starts it.
### Example 2: Start a function app by name.
```powershell
-PS C:\> Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
+Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
```
This command starts a function app by name.
\ No newline at end of file
diff --git a/src/Functions/examples/Stop-AzFunctionApp.md b/src/Functions/examples/Stop-AzFunctionApp.md
index fcbdd469c82b..b5e874f8f4d0 100644
--- a/src/Functions/examples/Stop-AzFunctionApp.md
+++ b/src/Functions/examples/Stop-AzFunctionApp.md
@@ -1,7 +1,7 @@
### Example 1: Get a function app by name and stop it.
```powershell
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
```
This command gets a function app by name and stops it.
@@ -9,7 +9,7 @@ This command gets a function app by name and stops it.
### Example 2: Stop a function app by name.
```powershell
-PS C:\> Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
```
This command stops a function app by name.
\ No newline at end of file
diff --git a/src/Functions/examples/Sync-AzWebAppFunctionSlot.md b/src/Functions/examples/Sync-AzWebAppFunctionSlot.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Sync-AzWebAppFunctionSlot.md
+++ b/src/Functions/examples/Sync-AzWebAppFunctionSlot.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Test-Az.md b/src/Functions/examples/Test-Az.md
index 093355d11d50..6ee1a83db970 100644
--- a/src/Functions/examples/Test-Az.md
+++ b/src/Functions/examples/Test-Az.md
@@ -1,7 +1,9 @@
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -9,8 +11,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/examples/Update-AzFunctionApp.md b/src/Functions/examples/Update-AzFunctionApp.md
index 2c3bcee95abe..ca5c0a83b035 100644
--- a/src/Functions/examples/Update-AzFunctionApp.md
+++ b/src/Functions/examples/Update-AzFunctionApp.md
@@ -1,20 +1,20 @@
### Example 1: Update function app hosting plan.
```powershell
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
```
This command updates function app hosting plan.
### Example 2: Set a SystemAssigned managed identity for a function app.
```powershell
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
```
This command sets a SystemAssigned managed identity for a function app.
### Example 3: Update function app Application Insights.
```powershell
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
```
This command updates function app Application Insights.
### Example 3: Remove managed identity from a function app.
```powershell
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
```
This command removes a managed identity from a function app.
\ No newline at end of file
diff --git a/src/Functions/examples/Update-AzFunctionAppPlan.md b/src/Functions/examples/Update-AzFunctionAppPlan.md
index 927086ead275..d5a501494aee 100644
--- a/src/Functions/examples/Update-AzFunctionAppPlan.md
+++ b/src/Functions/examples/Update-AzFunctionAppPlan.md
@@ -1,12 +1,11 @@
### Example 1: Update an app service plan to EP2 sku with twenty maximum workers.
```powershell
-PS C:\> Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -MaximumWorkerCount 20 `
- -Sku EP2 `
- -Force
-
+Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -MaximumWorkerCount 20 `
+ -Sku EP2 `
+ -Force
```
This command updates an app service plan to EP2 sku with twenty maximum workers.
\ No newline at end of file
diff --git a/src/Functions/examples/Update-AzFunctionAppSetting.md b/src/Functions/examples/Update-AzFunctionAppSetting.md
index 50f3680f37ab..b2cdd888167c 100644
--- a/src/Functions/examples/Update-AzFunctionAppSetting.md
+++ b/src/Functions/examples/Update-AzFunctionAppSetting.md
@@ -1,7 +1,7 @@
### Example 1: Add a new app setting in a function app.
```powershell
-PS C:\> Update-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSetting @{"Name1" = "Value1"}
+Update-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSetting @{"Name1" = "Value1"}
```
This command adds a new app setting in a function app.
diff --git a/src/Functions/exports/Get-AzFunctionApp.ps1 b/src/Functions/exports/Get-AzFunctionApp.ps1
index c24da4f806ec..b6b5066f4789 100644
--- a/src/Functions/exports/Get-AzFunctionApp.ps1
+++ b/src/Functions/exports/Get-AzFunctionApp.ps1
@@ -20,36 +20,15 @@ Gets function apps in a subscription.
.Description
Gets function apps in a subscription.
.Example
-PS C:\> Get-AzFunctionApp
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Functions1-Windows-Java Running Windows Java West Europe Premium1-WE Functions-West-Europe1 fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
.Example
-PS C:\> Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
.Example
-PS C:\> Get-AzFunctionApp -Location "Central US"
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -Location "Central US"
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1 b/src/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1
index 13a00d8a5720..a3dee8cac85d 100644
--- a/src/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1
+++ b/src/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1
@@ -20,109 +20,11 @@ Gets the location where a function app for the given os and plan type is availab
.Description
Gets the location where a function app for the given os and plan type is available.
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-West India
-South India
-Canada Central
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-Germany West Central
-Norway East
+Get-AzFunctionAppAvailableLocation
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-West India
-Canada Central
-West Central US
-West US 2
-UK West
-UK South
-Central US EUAP
-Korea Central
-France Central
-Norway East
+Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-Central India
-West India
-South India
-Canada Central
-Canada East
-West Central US
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-South Africa North
-Switzerland North
-Germany West Central
+Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion
diff --git a/src/Functions/exports/Get-AzFunctionAppPlan.ps1 b/src/Functions/exports/Get-AzFunctionAppPlan.ps1
index a0f8babcda3c..ed5fa628d627 100644
--- a/src/Functions/exports/Get-AzFunctionAppPlan.ps1
+++ b/src/Functions/exports/Get-AzFunctionAppPlan.ps1
@@ -20,37 +20,13 @@ Get function apps plans in a subscription.
.Description
Get function apps plans in a subscription.
.Example
-PS C:\> Get-AzFunctionAppPlan
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium428118799 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium677505437 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium711892854 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium819994758 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan
.Example
-PS C:\> Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
.Example
-PS C:\> Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8z
+Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
.Example
-PS C:\> Get-AzFunctionAppPlan -Location "Central US"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 Central US Func99-West-Europe-Win-Premium 3r16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -Location "Central US"
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
diff --git a/src/Functions/exports/Get-AzFunctionAppSetting.ps1 b/src/Functions/exports/Get-AzFunctionAppSetting.ps1
index 47b0908d2bb6..0c468fb8c0af 100644
--- a/src/Functions/exports/Get-AzFunctionAppSetting.ps1
+++ b/src/Functions/exports/Get-AzFunctionAppSetting.ps1
@@ -20,7 +20,7 @@ Gets app settings for a function app.
.Description
Gets app settings for a function app.
.Example
-PS C:\> Get-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName
+Get-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Get-AzSystemAssignedIdentity.ps1 b/src/Functions/exports/Get-AzSystemAssignedIdentity.ps1
index 6e3e337b88cb..df738c878282 100644
--- a/src/Functions/exports/Get-AzSystemAssignedIdentity.ps1
+++ b/src/Functions/exports/Get-AzSystemAssignedIdentity.ps1
@@ -20,13 +20,9 @@ Gets the systemAssignedIdentity available under the specified RP scope.
.Description
Gets the systemAssignedIdentity available under the specified RP scope.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/exports/Get-AzWebAppFunctionKey.ps1 b/src/Functions/exports/Get-AzWebAppFunctionKey.ps1
index aa8c5c86dd45..432e8998204f 100644
--- a/src/Functions/exports/Get-AzWebAppFunctionKey.ps1
+++ b/src/Functions/exports/Get-AzWebAppFunctionKey.ps1
@@ -20,13 +20,9 @@ Description for Get function keys for a function in a web site, or a deployment
.Description
Description for Get function keys for a function in a web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
diff --git a/src/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1 b/src/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1
index e3c3cb854df4..12a3a8efbcad 100644
--- a/src/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1
+++ b/src/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1
@@ -20,13 +20,9 @@ Description for Get function keys for a function in a web site, or a deployment
.Description
Description for Get function keys for a function in a web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
diff --git a/src/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1 b/src/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1
index 10c7ca977482..68db26d2dd1f 100644
--- a/src/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1
+++ b/src/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1
@@ -20,13 +20,9 @@ Description for 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
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/exports/Get-AzWebAppSyncStatus.ps1 b/src/Functions/exports/Get-AzWebAppSyncStatus.ps1
index 5288c013ba03..e4c2dfe6c48c 100644
--- a/src/Functions/exports/Get-AzWebAppSyncStatus.ps1
+++ b/src/Functions/exports/Get-AzWebAppSyncStatus.ps1
@@ -20,13 +20,9 @@ Description for This is to allow calling via powershell and ARM template.
.Description
Description for This is to allow calling via powershell and ARM template.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
System.Boolean
diff --git a/src/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1 b/src/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1
index e442e96d7062..7f68abeb6395 100644
--- a/src/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1
+++ b/src/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1
@@ -20,13 +20,9 @@ Description for This is to allow calling via powershell and ARM template.
.Description
Description for This is to allow calling via powershell and ARM template.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
System.Boolean
diff --git a/src/Functions/exports/Move-Az.ps1 b/src/Functions/exports/Move-Az.ps1
index d4c9d4b3689d..62045be1e6a3 100644
--- a/src/Functions/exports/Move-Az.ps1
+++ b/src/Functions/exports/Move-Az.ps1
@@ -20,13 +20,9 @@ Description for Move resources between resource groups.
.Description
Description for Move resources between resource groups.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope
diff --git a/src/Functions/exports/New-AzFunctionApp.ps1 b/src/Functions/exports/New-AzFunctionApp.ps1
index c2f62381ee23..5ee86a168aed 100644
--- a/src/Functions/exports/New-AzFunctionApp.ps1
+++ b/src/Functions/exports/New-AzFunctionApp.ps1
@@ -20,24 +20,23 @@ Creates a function app.
.Description
Creates a function app.
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -Location centralUS `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -Location centralUS `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -DockerImageName myacr.azurecr.io/myimage:tag
-
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -DockerImageName myacr.azurecr.io/myimage:tag
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/New-AzFunctionAppPlan.ps1 b/src/Functions/exports/New-AzFunctionAppPlan.ps1
index 47c9e4a917e7..686d77bbb87f 100644
--- a/src/Functions/exports/New-AzFunctionAppPlan.ps1
+++ b/src/Functions/exports/New-AzFunctionAppPlan.ps1
@@ -20,14 +20,13 @@ Creates a function app service plan.
.Description
Creates a function app service plan.
.Example
-PS C:\> New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -Location WestEurope `
- -MinimumWorkerCount 1 `
- -MaximumWorkerCount 10 `
- -Sku EP1 `
- -WorkerType Windows
-
+New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -Location WestEurope `
+ -MinimumWorkerCount 1 `
+ -MaximumWorkerCount 10 `
+ -Sku EP1 `
+ -WorkerType Windows
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
diff --git a/src/Functions/exports/ProxyCmdletDefinitions.ps1 b/src/Functions/exports/ProxyCmdletDefinitions.ps1
index 9e24f3ddc453..dc3768b372ae 100644
--- a/src/Functions/exports/ProxyCmdletDefinitions.ps1
+++ b/src/Functions/exports/ProxyCmdletDefinitions.ps1
@@ -20,13 +20,9 @@ Gets the systemAssignedIdentity available under the specified RP scope.
.Description
Gets the systemAssignedIdentity available under the specified RP scope.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -208,13 +204,9 @@ Description for Get function keys for a function in a web site, or a deployment
.Description
Description for Get function keys for a function in a web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
@@ -353,13 +345,9 @@ Description for Get function keys for a function in a web site, or a deployment
.Description
Description for Get function keys for a function in a web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
@@ -492,13 +480,9 @@ Description for 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
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -711,13 +695,9 @@ Description for This is to allow calling via powershell and ARM template.
.Description
Description for This is to allow calling via powershell and ARM template.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
System.Boolean
@@ -856,13 +836,9 @@ Description for This is to allow calling via powershell and ARM template.
.Description
Description for This is to allow calling via powershell and ARM template.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
System.Boolean
@@ -995,13 +971,9 @@ Description for Move resources between resource groups.
.Description
Description for Move resources between resource groups.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope
@@ -1234,13 +1206,9 @@ Description for Syncs function trigger metadata to the management database
.Description
Description for Syncs function trigger metadata to the management database
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -1451,13 +1419,9 @@ Description for Validate if a resource can be created.
.Description
Description for Validate if a resource can be created.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest
@@ -1796,36 +1760,15 @@ Gets function apps in a subscription.
.Description
Gets function apps in a subscription.
.Example
-PS C:\> Get-AzFunctionApp
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Functions1-Windows-Java Running Windows Java West Europe Premium1-WE Functions-West-Europe1 fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
.Example
-PS C:\> Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
.Example
-PS C:\> Get-AzFunctionApp -Location "Central US"
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -Location "Central US"
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -1960,109 +1903,11 @@ Gets the location where a function app for the given os and plan type is availab
.Description
Gets the location where a function app for the given os and plan type is available.
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-West India
-South India
-Canada Central
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-Germany West Central
-Norway East
+Get-AzFunctionAppAvailableLocation
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-West India
-Canada Central
-West Central US
-West US 2
-UK West
-UK South
-Central US EUAP
-Korea Central
-France Central
-Norway East
+Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-Central India
-West India
-South India
-Canada Central
-Canada East
-West Central US
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-South Africa North
-Switzerland North
-Germany West Central
+Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion
@@ -2184,37 +2029,13 @@ Get function apps plans in a subscription.
.Description
Get function apps plans in a subscription.
.Example
-PS C:\> Get-AzFunctionAppPlan
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium428118799 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium677505437 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium711892854 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium819994758 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan
.Example
-PS C:\> Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
.Example
-PS C:\> Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8z
+Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
.Example
-PS C:\> Get-AzFunctionAppPlan -Location "Central US"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 Central US Func99-West-Europe-Win-Premium 3r16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -Location "Central US"
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
@@ -2343,7 +2164,7 @@ Gets app settings for a function app.
.Description
Gets app settings for a function app.
.Example
-PS C:\> Get-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName
+Get-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -2631,24 +2452,23 @@ Creates a function app.
.Description
Creates a function app.
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -Location centralUS `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -Location centralUS `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -DockerImageName myacr.azurecr.io/myimage:tag
-
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -DockerImageName myacr.azurecr.io/myimage:tag
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -2907,14 +2727,13 @@ Creates a function app service plan.
.Description
Creates a function app service plan.
.Example
-PS C:\> New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -Location WestEurope `
- -MinimumWorkerCount 1 `
- -MaximumWorkerCount 10 `
- -Sku EP1 `
- -WorkerType Windows
-
+New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -Location WestEurope `
+ -MinimumWorkerCount 1 `
+ -MaximumWorkerCount 10 `
+ -Sku EP1 `
+ -WorkerType Windows
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
@@ -3088,9 +2907,9 @@ Deletes a function app.
.Description
Deletes a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
.Example
-PS C:\> Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -3390,9 +3209,9 @@ Deletes a function app plan.
.Description
Deletes a function app plan.
.Example
-PS C:\> Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
+Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
.Example
-PS C:\> Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
@@ -3568,7 +3387,7 @@ Removes app settings from a function app.
.Description
Removes app settings from a function app.
.Example
-PS C:\> Remove-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSettingName "MyAppSetting1", "MyAppSetting2"
+Remove-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSettingName "MyAppSetting1", "MyAppSetting2"
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -3868,9 +3687,9 @@ Restarts a function app.
.Description
Restarts a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
.Example
-PS C:\> Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -4170,9 +3989,9 @@ Starts a function app.
.Description
Starts a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
.Example
-PS C:\> Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
+Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -4466,9 +4285,9 @@ Stops a function app.
.Description
Stops a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
.Example
-PS C:\> Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -4767,13 +4586,13 @@ Updates a function app.
.Description
Updates a function app.
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -5128,12 +4947,11 @@ Updates a function app service plan.
.Description
Updates a function app service plan.
.Example
-PS C:\> Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -MaximumWorkerCount 20 `
- -Sku EP2 `
- -Force
-
+Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -MaximumWorkerCount 20 `
+ -Sku EP2 `
+ -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
@@ -5345,7 +5163,7 @@ Adds or updates app settings in a function app.
.Description
Adds or updates app settings in a function app.
.Example
-PS C:\> Update-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSetting @{"Name1" = "Value1"}
+Update-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSetting @{"Name1" = "Value1"}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Remove-AzFunctionApp.ps1 b/src/Functions/exports/Remove-AzFunctionApp.ps1
index 05a18ba20c94..32a3740a8883 100644
--- a/src/Functions/exports/Remove-AzFunctionApp.ps1
+++ b/src/Functions/exports/Remove-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Deletes a function app.
.Description
Deletes a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
.Example
-PS C:\> Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Remove-AzFunctionAppPlan.ps1 b/src/Functions/exports/Remove-AzFunctionAppPlan.ps1
index b860dffeaf16..c9a67ea221d9 100644
--- a/src/Functions/exports/Remove-AzFunctionAppPlan.ps1
+++ b/src/Functions/exports/Remove-AzFunctionAppPlan.ps1
@@ -20,9 +20,9 @@ Deletes a function app plan.
.Description
Deletes a function app plan.
.Example
-PS C:\> Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
+Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
.Example
-PS C:\> Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
diff --git a/src/Functions/exports/Remove-AzFunctionAppSetting.ps1 b/src/Functions/exports/Remove-AzFunctionAppSetting.ps1
index ccee2fb6b6f9..70a2a1e4c135 100644
--- a/src/Functions/exports/Remove-AzFunctionAppSetting.ps1
+++ b/src/Functions/exports/Remove-AzFunctionAppSetting.ps1
@@ -20,7 +20,7 @@ Removes app settings from a function app.
.Description
Removes app settings from a function app.
.Example
-PS C:\> Remove-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSettingName "MyAppSetting1", "MyAppSetting2"
+Remove-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSettingName "MyAppSetting1", "MyAppSetting2"
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Restart-AzFunctionApp.ps1 b/src/Functions/exports/Restart-AzFunctionApp.ps1
index 41f23b4d0d7a..e8e913be44ac 100644
--- a/src/Functions/exports/Restart-AzFunctionApp.ps1
+++ b/src/Functions/exports/Restart-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Restarts a function app.
.Description
Restarts a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
.Example
-PS C:\> Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Start-AzFunctionApp.ps1 b/src/Functions/exports/Start-AzFunctionApp.ps1
index 774b84837b44..e2e530302b4e 100644
--- a/src/Functions/exports/Start-AzFunctionApp.ps1
+++ b/src/Functions/exports/Start-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Starts a function app.
.Description
Starts a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
.Example
-PS C:\> Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
+Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Stop-AzFunctionApp.ps1 b/src/Functions/exports/Stop-AzFunctionApp.ps1
index 3f3346c1767c..73c554492108 100644
--- a/src/Functions/exports/Stop-AzFunctionApp.ps1
+++ b/src/Functions/exports/Stop-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Stops a function app.
.Description
Stops a function app.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
.Example
-PS C:\> Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Sync-AzWebAppFunctionSlot.ps1 b/src/Functions/exports/Sync-AzWebAppFunctionSlot.ps1
index a09a78f525e7..442f6378e0c0 100644
--- a/src/Functions/exports/Sync-AzWebAppFunctionSlot.ps1
+++ b/src/Functions/exports/Sync-AzWebAppFunctionSlot.ps1
@@ -20,13 +20,9 @@ Description for Syncs function trigger metadata to the management database
.Description
Description for Syncs function trigger metadata to the management database
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/exports/Test-Az.ps1 b/src/Functions/exports/Test-Az.ps1
index a71c0a730087..de71110d7c81 100644
--- a/src/Functions/exports/Test-Az.ps1
+++ b/src/Functions/exports/Test-Az.ps1
@@ -20,13 +20,9 @@ Description for Validate if a resource can be created.
.Description
Description for Validate if a resource can be created.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest
diff --git a/src/Functions/exports/Update-AzFunctionApp.ps1 b/src/Functions/exports/Update-AzFunctionApp.ps1
index 537e9018d59d..1a575bee5078 100644
--- a/src/Functions/exports/Update-AzFunctionApp.ps1
+++ b/src/Functions/exports/Update-AzFunctionApp.ps1
@@ -20,13 +20,13 @@ Updates a function app.
.Description
Updates a function app.
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/exports/Update-AzFunctionAppPlan.ps1 b/src/Functions/exports/Update-AzFunctionAppPlan.ps1
index 90e1014c51d9..113b2a641cd2 100644
--- a/src/Functions/exports/Update-AzFunctionAppPlan.ps1
+++ b/src/Functions/exports/Update-AzFunctionAppPlan.ps1
@@ -20,12 +20,11 @@ Updates a function app service plan.
.Description
Updates a function app service plan.
.Example
-PS C:\> Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -MaximumWorkerCount 20 `
- -Sku EP2 `
- -Force
-
+Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -MaximumWorkerCount 20 `
+ -Sku EP2 `
+ -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
diff --git a/src/Functions/exports/Update-AzFunctionAppSetting.ps1 b/src/Functions/exports/Update-AzFunctionAppSetting.ps1
index 59ec06bbbde1..2a032fcec4c9 100644
--- a/src/Functions/exports/Update-AzFunctionAppSetting.ps1
+++ b/src/Functions/exports/Update-AzFunctionAppSetting.ps1
@@ -20,7 +20,7 @@ Adds or updates app settings in a function app.
.Description
Adds or updates app settings in a function app.
.Example
-PS C:\> Update-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSetting @{"Name1" = "Value1"}
+Update-AzFunctionAppSetting -Name MyAppName -ResourceGroupName MyResourceGroupName -AppSetting @{"Name1" = "Value1"}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/generate-info.json b/src/Functions/generate-info.json
index 4d360823a161..18434b3120aa 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_modelerfour": "4.15.414",
- "autorest_core": "3.7.3",
- "autorest_powershell": "3.0.468",
- "swagger_commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf"
+ "autorest_core": "3.8.2",
+ "autorest_powershell": "3.0.480"
}
diff --git a/src/Functions/generated/Module.cs b/src/Functions/generated/Module.cs
index 6d7084f07228..1da6e4d78e28 100644
--- a/src/Functions/generated/Module.cs
+++ b/src/Functions/generated/Module.cs
@@ -30,6 +30,8 @@ public partial class Module
/// the ISendAsync pipeline instance (when proxy is enabled)
private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline _pipelineWithProxy;
+ public bool _useProxy = false;
+
public global::System.Net.WebProxy _webProxy = new global::System.Net.WebProxy();
/// Gets completion data for azure specific fields
@@ -88,7 +90,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline CreateP
{
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline pipeline = null;
BeforeCreatePipeline(invocationInfo, ref pipeline);
- pipeline = (pipeline ?? (_handler.UseProxy ? _pipelineWithProxy : _pipeline)).Clone();
+ pipeline = (pipeline ?? (_useProxy ? _pipelineWithProxy : _pipeline)).Clone();
AfterCreatePipeline(invocationInfo, ref pipeline);
pipeline.Append(new Runtime.CmdInfoHandler(processRecordId, invocationInfo, parameterSetName).SendAsync);
OnNewRequest?.Invoke( invocationInfo, correlationId,processRecordId, (step)=> { pipeline.Prepend(step); } , (step)=> { pipeline.Append(step); } );
@@ -127,12 +129,24 @@ private Module()
/// True if the proxy should use default credentials
public void SetProxyConfiguration(global::System.Uri proxy, global::System.Management.Automation.PSCredential proxyCredential, bool proxyUseDefaultCredentials)
{
+ _useProxy = proxy != null;
+ if (proxy == null)
+ {
+ return;
+ }
// set the proxy configuration
_webProxy.Address = proxy;
_webProxy.BypassProxyOnLocal = false;
- _webProxy.Credentials = proxyCredential ?.GetNetworkCredential();
- _webProxy.UseDefaultCredentials = proxyUseDefaultCredentials;
- _handler.UseProxy = proxy != null;
+ if (proxyUseDefaultCredentials)
+ {
+ _webProxy.Credentials = null;
+ _webProxy.UseDefaultCredentials = true;
+ }
+ else
+ {
+ _webProxy.UseDefaultCredentials = false;
+ _webProxy.Credentials = proxyCredential ?.GetNetworkCredential();
+ }
}
/// Called to dispatch events to the common module listener
diff --git a/src/Functions/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs b/src/Functions/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs
index 361406f63d36..d35d8b9d4ddb 100644
--- a/src/Functions/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs
+++ b/src/Functions/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs
@@ -52,6 +52,17 @@ public override string ToString()
internal class HelpExampleOutput
{
+ private string ExampleTemplate =
+ "{0}{1}" + Environment.NewLine +
+ "{2}" + Environment.NewLine + "{3}" + Environment.NewLine + "{4}" + Environment.NewLine + Environment.NewLine +
+ "{5}" + Environment.NewLine + Environment.NewLine;
+
+ private string ExampleTemplateWithOutput =
+ "{0}{1}" + Environment.NewLine +
+ "{2}" + Environment.NewLine + "{3}" + Environment.NewLine + "{4}" + Environment.NewLine + Environment.NewLine +
+ "{5}" + Environment.NewLine + "{6}" + Environment.NewLine + "{7}" + Environment.NewLine + Environment.NewLine +
+ "{8}" + Environment.NewLine + Environment.NewLine;
+
public MarkdownExampleHelpInfo ExampleInfo { get; }
public HelpExampleOutput(MarkdownExampleHelpInfo exampleInfo)
@@ -59,17 +70,26 @@ public HelpExampleOutput(MarkdownExampleHelpInfo exampleInfo)
ExampleInfo = exampleInfo;
}
- public override string ToString() => $@"{ExampleNameHeader}{ExampleInfo.Name}
-{ExampleCodeHeader}
-{ExampleInfo.Code}
-{ExampleCodeFooter}
-
-{ExampleInfo.Description.ToDescriptionFormat()}
-
-";
+ public override string ToString()
+ {
+ if (string.IsNullOrEmpty(ExampleInfo.Output))
+ {
+ return string.Format(ExampleTemplate,
+ ExampleNameHeader, ExampleInfo.Name,
+ ExampleCodeHeader, ExampleInfo.Code, ExampleCodeFooter,
+ ExampleInfo.Description.ToDescriptionFormat());
+ }
+ else
+ {
+ return string.Format(ExampleTemplateWithOutput,
+ ExampleNameHeader, ExampleInfo.Name,
+ ExampleCodeHeader, ExampleInfo.Code, ExampleCodeFooter,
+ ExampleOutputHeader, ExampleInfo.Output, ExampleOutputFooter,
+ ExampleInfo.Description.ToDescriptionFormat()); ;
+ }
+ }
}
-
-
+
internal class HelpParameterOutput
{
public MarkdownParameterHelpInfo ParameterInfo { get; }
@@ -161,6 +181,8 @@ public static string ToDescriptionFormat(this string text, bool escapeAngleBrack
public const string ExampleNameHeader = "### ";
public const string ExampleCodeHeader = "```powershell";
public const string ExampleCodeFooter = "```";
+ public const string ExampleOutputHeader = "```output";
+ public const string ExampleOutputFooter = "```";
public static HelpMetadataOutput ToHelpMetadataOutput(this MarkdownHelpInfo helpInfo) => new HelpMetadataOutput(helpInfo);
diff --git a/src/Functions/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/src/Functions/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index bac21400b55d..72b29e4aef06 100644
--- a/src/Functions/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/src/Functions/generated/runtime/BuildTime/Models/PsHelpTypes.cs
@@ -109,18 +109,21 @@ internal class PsHelpExampleInfo
{
public string Title { get; }
public string Code { get; }
+ public string Output { get; }
public string Remarks { get; }
public PsHelpExampleInfo(PSObject exampleObject)
{
Title = exampleObject.GetProperty("title");
Code = exampleObject.GetProperty("code");
+ Output = exampleObject.GetProperty("output");
Remarks = exampleObject.GetProperty("remarks").EmptyIfNull().ToDescriptionText();
}
public PsHelpExampleInfo(MarkdownExampleHelpInfo markdownExample)
{
Title = markdownExample.Name;
Code = markdownExample.Code;
+ Output = markdownExample.Output;
Remarks = markdownExample.Description;
}
diff --git a/src/Functions/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs b/src/Functions/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs
index 2c62e6e0482e..dab37086d505 100644
--- a/src/Functions/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs
+++ b/src/Functions/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs
@@ -91,12 +91,17 @@ private MarkdownExampleHelpInfo[] GetExamplesFromMarkdown(string examplesFolder)
var code = codeStartIndex.HasValue && codeEndIndex.HasValue
? String.Join(Environment.NewLine, eg.Skip(codeStartIndex.Value + 1).Take(codeEndIndex.Value - (codeStartIndex.Value + 1)))
: String.Empty;
- var descriptionStartIndex = (codeEndIndex ?? 0) + 1;
+ var outputStartIndex = eg.Select((l, i) => l.StartsWith(ExampleOutputHeader) ? (int?)i : null).FirstOrDefault(i => i.HasValue);
+ var outputEndIndex = eg.Select((l, i) => l.StartsWith(ExampleOutputFooter) ? (int?)i : null).FirstOrDefault(i => i.HasValue && i > outputStartIndex);
+ var output = outputStartIndex.HasValue && outputEndIndex.HasValue
+ ? String.Join(Environment.NewLine, eg.Skip(outputStartIndex.Value + 1).Take(outputEndIndex.Value - (outputStartIndex.Value + 1)))
+ : String.Empty;
+ var descriptionStartIndex = (outputEndIndex ?? (codeEndIndex ?? 0)) + 1;
descriptionStartIndex = String.IsNullOrWhiteSpace(eg[descriptionStartIndex]) ? descriptionStartIndex + 1 : descriptionStartIndex;
var descriptionEndIndex = eg.Length - 1;
descriptionEndIndex = String.IsNullOrWhiteSpace(eg[descriptionEndIndex]) ? descriptionEndIndex - 1 : descriptionEndIndex;
var description = String.Join(Environment.NewLine, eg.Skip(descriptionStartIndex).Take((descriptionEndIndex + 1) - descriptionStartIndex));
- return new MarkdownExampleHelpInfo(name, code, description);
+ return new MarkdownExampleHelpInfo(name, code, output, description);
}).ToArray();
}
}
@@ -154,12 +159,14 @@ internal class MarkdownExampleHelpInfo
{
public string Name { get; }
public string Code { get; }
+ public string Output { get; }
public string Description { get; }
- public MarkdownExampleHelpInfo(string name, string code, string description)
+ public MarkdownExampleHelpInfo(string name, string code, string output, string description)
{
Name = name;
Code = code;
+ Output = output;
Description = description;
}
}
@@ -213,12 +220,12 @@ public MarkdownParameterHelpInfo(PsParameterHelpInfo[] parameterHelpInfos, Param
internal static class MarkdownTypesExtensions
{
- public static MarkdownExampleHelpInfo ToExampleHelpInfo(this PsHelpExampleInfo exampleInfo) => new MarkdownExampleHelpInfo(exampleInfo.Title, exampleInfo.Code, exampleInfo.Remarks);
+ public static MarkdownExampleHelpInfo ToExampleHelpInfo(this PsHelpExampleInfo exampleInfo) => new MarkdownExampleHelpInfo(exampleInfo.Title, exampleInfo.Code, exampleInfo.Output, exampleInfo.Remarks);
public static MarkdownExampleHelpInfo[] DefaultExampleHelpInfos =
{
- new MarkdownExampleHelpInfo("Example 1: {{ Add title here }}", $@"PS C:\> {{{{ Add code here }}}}{Environment.NewLine}{Environment.NewLine}{{{{ Add output here }}}}", @"{{ Add description here }}"),
- new MarkdownExampleHelpInfo("Example 2: {{ Add title here }}", $@"PS C:\> {{{{ Add code here }}}}{Environment.NewLine}{Environment.NewLine}{{{{ Add output here }}}}", @"{{ Add description here }}")
+ new MarkdownExampleHelpInfo("Example 1: {{ Add title here }}", $@"{{{{ Add code here }}}}", $@"{{{{ Add output here }}}}", @"{{ Add description here }}"),
+ new MarkdownExampleHelpInfo("Example 2: {{ Add title here }}", $@"{{{{ Add code here }}}}", $@"{{{{ Add output here }}}}", @"{{ Add description here }}"),
};
public static MarkdownParameterHelpInfo[] SupportsShouldProcessParameters =
diff --git a/src/Functions/help/Get-AzWebAppFunctionKey.md b/src/Functions/help/Get-AzWebAppFunctionKey.md
index 89e3ad27b45d..62d6a5a645d4 100644
--- a/src/Functions/help/Get-AzWebAppFunctionKey.md
+++ b/src/Functions/help/Get-AzWebAppFunctionKey.md
@@ -24,8 +24,10 @@ Description for Get function keys for a function in a web site, or a deployment
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -33,8 +35,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/help/Get-AzWebAppFunctionKeySlot.md b/src/Functions/help/Get-AzWebAppFunctionKeySlot.md
index 4ae6899c71e5..88b1cff43a0a 100644
--- a/src/Functions/help/Get-AzWebAppFunctionKeySlot.md
+++ b/src/Functions/help/Get-AzWebAppFunctionKeySlot.md
@@ -24,8 +24,10 @@ Description for Get function keys for a function in a web site, or a deployment
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -33,8 +35,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/help/Get-AzWebAppSettingKeyVaultReference.md b/src/Functions/help/Get-AzWebAppSettingKeyVaultReference.md
index 5690708319e0..2398778b955d 100644
--- a/src/Functions/help/Get-AzWebAppSettingKeyVaultReference.md
+++ b/src/Functions/help/Get-AzWebAppSettingKeyVaultReference.md
@@ -43,8 +43,10 @@ Description for Gets the config reference app settings and status of an app
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -52,8 +54,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/help/Get-AzWebAppSyncStatus.md b/src/Functions/help/Get-AzWebAppSyncStatus.md
index 1f29fa30d4f9..dd17fe00154a 100644
--- a/src/Functions/help/Get-AzWebAppSyncStatus.md
+++ b/src/Functions/help/Get-AzWebAppSyncStatus.md
@@ -24,8 +24,10 @@ Description for This is to allow calling via powershell and ARM template.
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -33,8 +35,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/help/Get-AzWebAppSyncStatusSlot.md b/src/Functions/help/Get-AzWebAppSyncStatusSlot.md
index 76825ed8ea4c..67df3989f7ea 100644
--- a/src/Functions/help/Get-AzWebAppSyncStatusSlot.md
+++ b/src/Functions/help/Get-AzWebAppSyncStatusSlot.md
@@ -25,8 +25,10 @@ Description for This is to allow calling via powershell and ARM template.
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -34,8 +36,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/help/Move-Az.md b/src/Functions/help/Move-Az.md
index d5e8f8152093..b7ecc8355c29 100644
--- a/src/Functions/help/Move-Az.md
+++ b/src/Functions/help/Move-Az.md
@@ -44,8 +44,10 @@ Description for Move resources between resource groups.
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -53,8 +55,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/help/Sync-AzWebAppFunctionSlot.md b/src/Functions/help/Sync-AzWebAppFunctionSlot.md
index 7d9a57089eca..dcd484dc78ea 100644
--- a/src/Functions/help/Sync-AzWebAppFunctionSlot.md
+++ b/src/Functions/help/Sync-AzWebAppFunctionSlot.md
@@ -31,8 +31,10 @@ Description for Syncs function trigger metadata to the management database
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -40,8 +42,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/help/Test-Az.md b/src/Functions/help/Test-Az.md
index 63fc5cfb83c0..9e40566f50f0 100644
--- a/src/Functions/help/Test-Az.md
+++ b/src/Functions/help/Test-Az.md
@@ -51,8 +51,10 @@ Description for Validate if a resource can be created.
### Example 1: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
@@ -60,8 +62,10 @@ PS C:\> {{ Add code here }}
### Example 2: {{ Add title here }}
```powershell
-PS C:\> {{ Add code here }}
+{{ Add code here }}
+```
+```output
{{ Add output here }}
```
diff --git a/src/Functions/internal/Backup-AzFunctionApp.ps1 b/src/Functions/internal/Backup-AzFunctionApp.ps1
index abdceeea8dfd..f6aaf2214754 100644
--- a/src/Functions/internal/Backup-AzFunctionApp.ps1
+++ b/src/Functions/internal/Backup-AzFunctionApp.ps1
@@ -20,13 +20,9 @@ Description for Creates a backup of an app.
.Description
Description for Creates a backup of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest
diff --git a/src/Functions/internal/Get-AzAppInsights.ps1 b/src/Functions/internal/Get-AzAppInsights.ps1
index 42c3af7370d4..c8fc60435ac2 100644
--- a/src/Functions/internal/Get-AzAppInsights.ps1
+++ b/src/Functions/internal/Get-AzAppInsights.ps1
@@ -20,13 +20,9 @@ Returns an Application Insights component.
.Description
Returns an Application Insights component.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzAppInsightsApiKey.ps1 b/src/Functions/internal/Get-AzAppInsightsApiKey.ps1
index 532fbc35ff6b..e2f17c1e8859 100644
--- a/src/Functions/internal/Get-AzAppInsightsApiKey.ps1
+++ b/src/Functions/internal/Get-AzAppInsightsApiKey.ps1
@@ -20,13 +20,9 @@ Get the API Key for this key id.
.Description
Get the API Key for this key id.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzFunction.ps1 b/src/Functions/internal/Get-AzFunction.ps1
index a81e14d0c02d..79479f6ac969 100644
--- a/src/Functions/internal/Get-AzFunction.ps1
+++ b/src/Functions/internal/Get-AzFunction.ps1
@@ -20,13 +20,9 @@ Description for Get function information by its ID for web site, or a deployment
.Description
Description for Get function information by its ID for web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzFunctionApp.ps1 b/src/Functions/internal/Get-AzFunctionApp.ps1
index 367a825b8930..c932f70f3a40 100644
--- a/src/Functions/internal/Get-AzFunctionApp.ps1
+++ b/src/Functions/internal/Get-AzFunctionApp.ps1
@@ -20,36 +20,15 @@ Description for Gets the details of a web, mobile, or API app.
.Description
Description for Gets the details of a web, mobile, or API app.
.Example
-PS C:\> Get-AzFunctionApp
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Functions1-Windows-Java Running Windows Java West Europe Premium1-WE Functions-West-Europe1 fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
.Example
-PS C:\> Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
.Example
-PS C:\> Get-AzFunctionApp -Location "Central US"
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -Location "Central US"
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1 b/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1
index 91e03f50c847..0f4fa2fadebc 100644
--- a/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1
+++ b/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1
@@ -20,109 +20,11 @@ Description for Get a list of available geographical regions.
.Description
Description for Get a list of available geographical regions.
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-West India
-South India
-Canada Central
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-Germany West Central
-Norway East
+Get-AzFunctionAppAvailableLocation
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-West India
-Canada Central
-West Central US
-West US 2
-UK West
-UK South
-Central US EUAP
-Korea Central
-France Central
-Norway East
+Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-Central India
-West India
-South India
-Canada Central
-Canada East
-West Central US
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-South Africa North
-Switzerland North
-Germany West Central
+Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion
diff --git a/src/Functions/internal/Get-AzFunctionAppPlan.ps1 b/src/Functions/internal/Get-AzFunctionAppPlan.ps1
index f6db6b311e6f..3dd2b05b0294 100644
--- a/src/Functions/internal/Get-AzFunctionAppPlan.ps1
+++ b/src/Functions/internal/Get-AzFunctionAppPlan.ps1
@@ -20,37 +20,13 @@ Description for Get an App Service plan.
.Description
Description for Get an App Service plan.
.Example
-PS C:\> Get-AzFunctionAppPlan
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium428118799 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium677505437 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium711892854 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium819994758 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan
.Example
-PS C:\> Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
.Example
-PS C:\> Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8z
+Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
.Example
-PS C:\> Get-AzFunctionAppPlan -Location "Central US"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 Central US Func99-West-Europe-Win-Premium 3r16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -Location "Central US"
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzStorageAccount.ps1 b/src/Functions/internal/Get-AzStorageAccount.ps1
index b12ad2b8a9cd..d5ab6a514cd0 100644
--- a/src/Functions/internal/Get-AzStorageAccount.ps1
+++ b/src/Functions/internal/Get-AzStorageAccount.ps1
@@ -22,13 +22,9 @@ Note that storage keys are not returned; use the ListKeys operation for this.
Lists all the storage accounts available under the subscription.
Note that storage keys are not returned; use the ListKeys operation for this.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccount
diff --git a/src/Functions/internal/Get-AzStorageAccountKey.ps1 b/src/Functions/internal/Get-AzStorageAccountKey.ps1
index 4ce10c373abc..b96f0c87cb98 100644
--- a/src/Functions/internal/Get-AzStorageAccountKey.ps1
+++ b/src/Functions/internal/Get-AzStorageAccountKey.ps1
@@ -20,13 +20,9 @@ Lists the access keys or Kerberos keys (if active directory enabled) for the spe
.Description
Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountKey
diff --git a/src/Functions/internal/Get-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Get-AzUserAssignedIdentity.ps1
index cda71633480d..348b39f8b177 100644
--- a/src/Functions/internal/Get-AzUserAssignedIdentity.ps1
+++ b/src/Functions/internal/Get-AzUserAssignedIdentity.ps1
@@ -20,13 +20,9 @@ Gets the identity.
.Description
Gets the identity.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1 b/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1
index ed5c73eab3fb..d37739730be8 100644
--- a/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1
+++ b/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1
@@ -20,13 +20,9 @@ Description for Gets the application settings of an app.
.Description
Description for Gets the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
diff --git a/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1 b/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1
index 578c23942fc7..8ee5083562a9 100644
--- a/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1
+++ b/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1
@@ -20,13 +20,9 @@ Description for Gets the application settings of an app.
.Description
Description for Gets the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
diff --git a/src/Functions/internal/Get-AzWebAppConfiguration.ps1 b/src/Functions/internal/Get-AzWebAppConfiguration.ps1
index 200d1897e6e3..25cfdac2e80e 100644
--- a/src/Functions/internal/Get-AzWebAppConfiguration.ps1
+++ b/src/Functions/internal/Get-AzWebAppConfiguration.ps1
@@ -20,13 +20,9 @@ Description for Gets the configuration of an app, such as platform version and b
.Description
Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1
index f2d0e00e9400..16cafacc7284 100644
--- a/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1
+++ b/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1
@@ -20,13 +20,9 @@ Description for Gets the configuration of an app, such as platform version and b
.Description
Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1
index c0789ea4726f..cfe2935d6ccd 100644
--- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1
+++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1
@@ -20,13 +20,9 @@ Description for Gets a snapshot of the configuration of an app at a previous poi
.Description
Description for Gets a snapshot of the configuration of an app at a previous point in time.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1
index b1b76dffe0b2..11d07504a725 100644
--- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1
+++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1
@@ -22,13 +22,9 @@ Each element of the list contains a timestamp and the ID of the snapshot.
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.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo
diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1
index 9a87d6c2afd0..25f163ad7117 100644
--- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1
+++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1
@@ -22,13 +22,9 @@ Each element of the list contains a timestamp and the ID of the snapshot.
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.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo
diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1
index 948fbfe9cd5c..b8d167eba684 100644
--- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1
+++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1
@@ -20,13 +20,9 @@ Description for Gets a snapshot of the configuration of an app at a previous poi
.Description
Description for Gets a snapshot of the configuration of an app at a previous point in time.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/New-AzAppInsights.ps1 b/src/Functions/internal/New-AzAppInsights.ps1
index 12de76d68ac9..302c82380d2f 100644
--- a/src/Functions/internal/New-AzAppInsights.ps1
+++ b/src/Functions/internal/New-AzAppInsights.ps1
@@ -22,13 +22,9 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t
Creates (or updates) an Application Insights component.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent
diff --git a/src/Functions/internal/New-AzFunction.ps1 b/src/Functions/internal/New-AzFunction.ps1
index 839d379df6b7..9df41817d9d6 100644
--- a/src/Functions/internal/New-AzFunction.ps1
+++ b/src/Functions/internal/New-AzFunction.ps1
@@ -20,13 +20,9 @@ Description for Create function for web site, or a deployment slot.
.Description
Description for Create function for web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope
diff --git a/src/Functions/internal/New-AzFunctionApp.ps1 b/src/Functions/internal/New-AzFunctionApp.ps1
index a5cc40c3ed0c..ba05eb47a4ba 100644
--- a/src/Functions/internal/New-AzFunctionApp.ps1
+++ b/src/Functions/internal/New-AzFunctionApp.ps1
@@ -20,24 +20,23 @@ Description for Creates a new web, mobile, or API app in an existing resource gr
.Description
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -Location centralUS `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -Location centralUS `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -DockerImageName myacr.azurecr.io/myimage:tag
-
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -DockerImageName myacr.azurecr.io/myimage:tag
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/internal/New-AzFunctionAppPlan.ps1 b/src/Functions/internal/New-AzFunctionAppPlan.ps1
index d171f7ae50cc..258469fe3872 100644
--- a/src/Functions/internal/New-AzFunctionAppPlan.ps1
+++ b/src/Functions/internal/New-AzFunctionAppPlan.ps1
@@ -20,14 +20,13 @@ Description for Creates or updates an App Service Plan.
.Description
Description for Creates or updates an App Service Plan.
.Example
-PS C:\> New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -Location WestEurope `
- -MinimumWorkerCount 1 `
- -MaximumWorkerCount 10 `
- -Sku EP1 `
- -WorkerType Windows
-
+New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -Location WestEurope `
+ -MinimumWorkerCount 1 `
+ -MaximumWorkerCount 10 `
+ -Sku EP1 `
+ -WorkerType Windows
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
diff --git a/src/Functions/internal/New-AzUserAssignedIdentity.ps1 b/src/Functions/internal/New-AzUserAssignedIdentity.ps1
index 1ea236e1c329..966699f596ce 100644
--- a/src/Functions/internal/New-AzUserAssignedIdentity.ps1
+++ b/src/Functions/internal/New-AzUserAssignedIdentity.ps1
@@ -20,13 +20,9 @@ Create or update an identity in the specified subscription and resource group.
.Description
Create or update an identity in the specified subscription and resource group.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated
diff --git a/src/Functions/internal/New-AzWebAppConfiguration.ps1 b/src/Functions/internal/New-AzWebAppConfiguration.ps1
index 1da8524458c1..7bb08fc63ab4 100644
--- a/src/Functions/internal/New-AzWebAppConfiguration.ps1
+++ b/src/Functions/internal/New-AzWebAppConfiguration.ps1
@@ -20,13 +20,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
diff --git a/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1
index 2b94db1d7497..75d6a87a5bbf 100644
--- a/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1
+++ b/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1
@@ -20,13 +20,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
diff --git a/src/Functions/internal/ProxyCmdletDefinitions.ps1 b/src/Functions/internal/ProxyCmdletDefinitions.ps1
index 8e733959821b..9b5d305869cd 100644
--- a/src/Functions/internal/ProxyCmdletDefinitions.ps1
+++ b/src/Functions/internal/ProxyCmdletDefinitions.ps1
@@ -20,13 +20,9 @@ Description for Creates a backup of an app.
.Description
Description for Creates a backup of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest
@@ -337,13 +333,9 @@ Get the API Key for this key id.
.Description
Get the API Key for this key id.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -553,13 +545,9 @@ Returns an Application Insights component.
.Description
Returns an Application Insights component.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -763,109 +751,11 @@ Description for Get a list of available geographical regions.
.Description
Description for Get a list of available geographical regions.
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-West India
-South India
-Canada Central
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-Germany West Central
-Norway East
+Get-AzFunctionAppAvailableLocation
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-West India
-Canada Central
-West Central US
-West US 2
-UK West
-UK South
-Central US EUAP
-Korea Central
-France Central
-Norway East
+Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux
.Example
-PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
-
-Name
-----
-Central US
-North Europe
-West Europe
-Southeast Asia
-East Asia
-West US
-East US
-Japan West
-Japan East
-East US 2
-North Central US
-South Central US
-Brazil South
-Australia East
-Australia Southeast
-East Asia (Stage)
-Central India
-West India
-South India
-Canada Central
-Canada East
-West Central US
-West US 2
-UK West
-UK South
-East US 2 EUAP
-Central US EUAP
-Korea Central
-France Central
-Australia Central 2
-Australia Central
-South Africa North
-Switzerland North
-Germany West Central
+Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion
@@ -1004,37 +894,13 @@ Description for Get an App Service plan.
.Description
Description for Get an App Service plan.
.Example
-PS C:\> Get-AzFunctionAppPlan
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium428118799 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium677505437 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium711892854 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium819994758 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan
.Example
-PS C:\> Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
.Example
-PS C:\> Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8z
+Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
.Example
-PS C:\> Get-AzFunctionAppPlan -Location "Central US"
-
-Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
----- ---------- ------- ------- -------- ----------------- --------------
-Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 Central US Func99-West-Europe-Win-Premium 3r16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionAppPlan -Location "Central US"
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -1252,36 +1118,15 @@ Description for Gets the details of a web, mobile, or API app.
.Description
Description for Gets the details of a web, mobile, or API app.
.Example
-PS C:\> Get-AzFunctionApp
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
-Functions1-Windows-Java Running Windows Java West Europe Premium1-WE Functions-West-Europe1 fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet
.Example
-PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win
.Example
-PS C:\> Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b
.Example
-PS C:\> Get-AzFunctionApp -Location "Central US"
-
-Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId
----- ------ ------ ------- -------- -------------- ----------------- --------------
-Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b
+Get-AzFunctionApp -Location "Central US"
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -1498,13 +1343,9 @@ Description for Get function information by its ID for web site, or a deployment
.Description
Description for Get function information by its ID for web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -1718,13 +1559,9 @@ Lists the access keys or Kerberos keys (if active directory enabled) for the spe
.Description
Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountKey
@@ -1862,13 +1699,9 @@ Note that storage keys are not returned; use the ListKeys operation for this.
Lists all the storage accounts available under the subscription.
Note that storage keys are not returned; use the ListKeys operation for this.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccount
@@ -1990,13 +1823,9 @@ Gets the identity.
.Description
Gets the identity.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -2199,13 +2028,9 @@ Description for Gets the application settings of an app.
.Description
Description for Gets the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
@@ -2338,13 +2163,9 @@ Description for Gets the application settings of an app.
.Description
Description for Gets the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
@@ -2470,13 +2291,9 @@ Description for Gets the configuration of an app, such as platform version and b
.Description
Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -2688,13 +2505,9 @@ Each element of the list contains a timestamp and the ID of the snapshot.
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.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo
@@ -2829,13 +2642,9 @@ Each element of the list contains a timestamp and the ID of the snapshot.
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.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo
@@ -2961,13 +2770,9 @@ Description for Gets a snapshot of the configuration of an app at a previous poi
.Description
Description for Gets a snapshot of the configuration of an app at a previous point in time.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -3178,13 +2983,9 @@ Description for Gets a snapshot of the configuration of an app at a previous poi
.Description
Description for Gets a snapshot of the configuration of an app at a previous point in time.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -3388,13 +3189,9 @@ Description for Gets the configuration of an app, such as platform version and b
.Description
Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -3598,13 +3395,9 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t
Creates (or updates) an Application Insights component.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent
@@ -3893,14 +3686,13 @@ Description for Creates or updates an App Service Plan.
.Description
Description for Creates or updates an App Service Plan.
.Example
-PS C:\> New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -Location WestEurope `
- -MinimumWorkerCount 1 `
- -MaximumWorkerCount 10 `
- -Sku EP1 `
- -WorkerType Windows
-
+New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -Location WestEurope `
+ -MinimumWorkerCount 1 `
+ -MaximumWorkerCount 10 `
+ -Sku EP1 `
+ -WorkerType Windows
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
@@ -4350,24 +4142,23 @@ Description for Creates a new web, mobile, or API app in an existing resource gr
.Description
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -Location centralUS `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -Location centralUS `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -Runtime PowerShell
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -Runtime PowerShell
.Example
-PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName `
- -ResourceGroupName MyResourceGroupName `
- -PlanName MyPlanName `
- -StorageAccount MyStorageAccountName `
- -DockerImageName myacr.azurecr.io/myimage:tag
-
+New-AzFunctionApp -Name MyUniqueFunctionAppName `
+ -ResourceGroupName MyResourceGroupName `
+ -PlanName MyPlanName `
+ -StorageAccount MyStorageAccountName `
+ -DockerImageName myacr.azurecr.io/myimage:tag
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -5124,13 +4915,9 @@ Description for Create function for web site, or a deployment slot.
.Description
Description for Create function for web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope
@@ -5479,13 +5266,9 @@ Create or update an identity in the specified subscription and resource group.
.Description
Create or update an identity in the specified subscription and resource group.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated
@@ -5719,13 +5502,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
@@ -6656,13 +6435,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
@@ -7585,9 +7360,9 @@ Description for Delete an App Service plan.
.Description
Description for Delete an App Service plan.
.Example
-PS C:\> Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
+Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
.Example
-PS C:\> Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -7791,9 +7566,9 @@ Description for Deletes a web, mobile, or API app, or one of the deployment slot
.Description
Description for Deletes a web, mobile, or API app, or one of the deployment slots.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
.Example
-PS C:\> Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -8010,13 +7785,9 @@ Description for Delete a function for web site, or a deployment slot.
.Description
Description for Delete a function for web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -8226,13 +7997,9 @@ Deletes the identity.
.Description
Deletes the identity.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -8436,9 +8203,9 @@ Description for Restarts an app (or deployment slot, if specified).
.Description
Description for Restarts an app (or deployment slot, if specified).
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
.Example
-PS C:\> Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -8656,13 +8423,9 @@ Description for Restores a specific backup to another app (or deployment slot, i
.Description
Description for Restores a specific backup to another app (or deployment slot, if specified).
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest
@@ -9016,13 +8779,9 @@ Description for Creates or updates an App Service Plan.
.Description
Description for Creates or updates an App Service Plan.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
@@ -9372,13 +9131,9 @@ Description for Creates a new web, mobile, or API app in an existing resource gr
.Description
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
@@ -10028,13 +9783,9 @@ Create or update an identity in the specified subscription and resource group.
.Description
Create or update an identity in the specified subscription and resource group.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated
@@ -10192,13 +9943,9 @@ Description for Replaces the application settings of an app.
.Description
Description for Replaces the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
@@ -10363,13 +10110,9 @@ Description for Replaces the application settings of an app.
.Description
Description for Replaces the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
@@ -10527,13 +10270,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
@@ -11317,13 +11056,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
@@ -12100,9 +11835,9 @@ Description for Starts an app (or deployment slot, if specified).
.Description
Description for Starts an app (or deployment slot, if specified).
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
.Example
-PS C:\> Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
+Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -12306,9 +12041,9 @@ Description for Stops an app (or deployment slot, if specified).
.Description
Description for Stops an app (or deployment slot, if specified).
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
.Example
-PS C:\> Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -12512,13 +12247,9 @@ Description for Syncs function trigger metadata to the management database
.Description
Description for Syncs function trigger metadata to the management database
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
@@ -12722,13 +12453,9 @@ Description for Check if a resource name is available.
.Description
Description for Check if a resource name is available.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest
@@ -12955,12 +12682,11 @@ Description for Creates or updates an App Service Plan.
.Description
Description for Creates or updates an App Service Plan.
.Example
-PS C:\> Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -MaximumWorkerCount 20 `
- -Sku EP2 `
- -Force
-
+Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -MaximumWorkerCount 20 `
+ -Sku EP2 `
+ -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource
@@ -13281,13 +13007,13 @@ Description for Creates a new web, mobile, or API app in an existing resource gr
.Description
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource
@@ -14014,13 +13740,9 @@ Update an identity in the specified subscription and resource group.
.Description
Update an identity in the specified subscription and resource group.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate
@@ -14254,13 +13976,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
@@ -15191,13 +14909,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
diff --git a/src/Functions/internal/README.md b/src/Functions/internal/README.md
index 0c4ab17f899c..6047e44ac244 100644
--- a/src/Functions/internal/README.md
+++ b/src/Functions/internal/README.md
@@ -1,5 +1,5 @@
# Internal
-This directory contains a module to handle *internal only* cmdlets. Cmdlets that you **hide** in configuration are created here. For more information on hiding, see [cmdlet hiding](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md#cmdlet-hiding-exportation-suppression). The cmdlets in this directory are generated at **build-time**. Do not put any custom code, files, cmdlets, etc. into this directory. Please use `..\custom` for all custom implementation.
+This directory contains a module to handle *internal only* cmdlets. Cmdlets that you **hide** in configuration are created here. For more information on hiding, see [cmdlet hiding](https://github.com/Azure/autorest.powershell/blob/main/docs/directives.md#cmdlet-hiding-exportation-suppression). The cmdlets in this directory are generated at **build-time**. Do not put any custom code, files, cmdlets, etc. into this directory. Please use `..\custom` for all custom implementation.
## Info
- Modifiable: no
@@ -11,4 +11,4 @@ This directory contains a module to handle *internal only* cmdlets. Cmdlets that
The `Az.Functions.internal.psm1` file is generated to this folder. This module file handles the hidden cmdlets. These cmdlets will not be exported by `Az.Functions`. Instead, this sub-module is imported by the `..\custom\Az.Functions.custom.psm1` module, allowing you to use hidden cmdlets in your custom, exposed cmdlets. To call these cmdlets in your custom scripts, simply use [module-qualified calls](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_command_precedence?view=powershell-6#qualified-names). For example, `Az.Functions.internal\Get-Example` would call an internal cmdlet named `Get-Example`.
## Purpose
-This allows you to include REST specifications for services that you *do not wish to expose from your module*, but simply want to call within custom cmdlets. For example, if you want to make a custom cmdlet that uses `Storage` services, you could include a simplified `Storage` REST specification that has only the operations you need. When you run the generator and build this module, note the generated `Storage` cmdlets. Then, in your readme configuration, use [cmdlet hiding](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md#cmdlet-hiding-exportation-suppression) on the `Storage` cmdlets and they will *only be exposed to the custom cmdlets* you want to write, and not be exported as part of `Az.Functions`.
\ No newline at end of file
+This allows you to include REST specifications for services that you *do not wish to expose from your module*, but simply want to call within custom cmdlets. For example, if you want to make a custom cmdlet that uses `Storage` services, you could include a simplified `Storage` REST specification that has only the operations you need. When you run the generator and build this module, note the generated `Storage` cmdlets. Then, in your readme configuration, use [cmdlet hiding](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md#cmdlet-hiding-exportation-suppression) on the `Storage` cmdlets and they will *only be exposed to the custom cmdlets* you want to write, and not be exported as part of `Az.Functions`.
diff --git a/src/Functions/internal/Remove-AzFunction.ps1 b/src/Functions/internal/Remove-AzFunction.ps1
index 3347bd7612bc..fa6282bd1c22 100644
--- a/src/Functions/internal/Remove-AzFunction.ps1
+++ b/src/Functions/internal/Remove-AzFunction.ps1
@@ -20,13 +20,9 @@ Description for Delete a function for web site, or a deployment slot.
.Description
Description for Delete a function for web site, or a deployment slot.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Remove-AzFunctionApp.ps1 b/src/Functions/internal/Remove-AzFunctionApp.ps1
index 5f1bb84556b1..baf14ce6193e 100644
--- a/src/Functions/internal/Remove-AzFunctionApp.ps1
+++ b/src/Functions/internal/Remove-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Description for Deletes a web, mobile, or API app, or one of the deployment slot
.Description
Description for Deletes a web, mobile, or API app, or one of the deployment slots.
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force
.Example
-PS C:\> Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Remove-AzFunctionAppPlan.ps1 b/src/Functions/internal/Remove-AzFunctionAppPlan.ps1
index 16177a4b2324..ea2d9ca4c07d 100644
--- a/src/Functions/internal/Remove-AzFunctionAppPlan.ps1
+++ b/src/Functions/internal/Remove-AzFunctionAppPlan.ps1
@@ -20,9 +20,9 @@ Description for Delete an App Service plan.
.Description
Description for Delete an App Service plan.
.Example
-PS C:\> Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
+Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force
.Example
-PS C:\> Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1
index 2133666dd1d0..7ffea3072539 100644
--- a/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1
+++ b/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1
@@ -20,13 +20,9 @@ Deletes the identity.
.Description
Deletes the identity.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Restart-AzFunctionApp.ps1 b/src/Functions/internal/Restart-AzFunctionApp.ps1
index 958dc4dd8b7f..f0a33946d697 100644
--- a/src/Functions/internal/Restart-AzFunctionApp.ps1
+++ b/src/Functions/internal/Restart-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Description for Restarts an app (or deployment slot, if specified).
.Description
Description for Restarts an app (or deployment slot, if specified).
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force
.Example
-PS C:\> Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Restore-AzFunctionApp.ps1 b/src/Functions/internal/Restore-AzFunctionApp.ps1
index c5ed83f9eeec..70b11acc20d3 100644
--- a/src/Functions/internal/Restore-AzFunctionApp.ps1
+++ b/src/Functions/internal/Restore-AzFunctionApp.ps1
@@ -20,13 +20,9 @@ Description for Restores a specific backup to another app (or deployment slot, i
.Description
Description for Restores a specific backup to another app (or deployment slot, if specified).
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest
diff --git a/src/Functions/internal/Set-AzFunctionApp.ps1 b/src/Functions/internal/Set-AzFunctionApp.ps1
index 4bd286bde5fd..ab0076de1ee2 100644
--- a/src/Functions/internal/Set-AzFunctionApp.ps1
+++ b/src/Functions/internal/Set-AzFunctionApp.ps1
@@ -20,13 +20,9 @@ Description for Creates a new web, mobile, or API app in an existing resource gr
.Description
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite
diff --git a/src/Functions/internal/Set-AzFunctionAppPlan.ps1 b/src/Functions/internal/Set-AzFunctionAppPlan.ps1
index 352ecfbecfd1..f0070196d23d 100644
--- a/src/Functions/internal/Set-AzFunctionAppPlan.ps1
+++ b/src/Functions/internal/Set-AzFunctionAppPlan.ps1
@@ -20,13 +20,9 @@ Description for Creates or updates an App Service Plan.
.Description
Description for Creates or updates an App Service Plan.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan
diff --git a/src/Functions/internal/Set-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Set-AzUserAssignedIdentity.ps1
index 58a6c80d1328..9c48be50f7f3 100644
--- a/src/Functions/internal/Set-AzUserAssignedIdentity.ps1
+++ b/src/Functions/internal/Set-AzUserAssignedIdentity.ps1
@@ -20,13 +20,9 @@ Create or update an identity in the specified subscription and resource group.
.Description
Create or update an identity in the specified subscription and resource group.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated
diff --git a/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1 b/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1
index ef4fb5c29a1c..2f31a9c1d665 100644
--- a/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1
+++ b/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1
@@ -20,13 +20,9 @@ Description for Replaces the application settings of an app.
.Description
Description for Replaces the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
diff --git a/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1 b/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1
index 962907c40fe3..9cf26fb05ef6 100644
--- a/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1
+++ b/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1
@@ -20,13 +20,9 @@ Description for Replaces the application settings of an app.
.Description
Description for Replaces the application settings of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary
diff --git a/src/Functions/internal/Set-AzWebAppConfiguration.ps1 b/src/Functions/internal/Set-AzWebAppConfiguration.ps1
index 0f18720779aa..2ab661c478e3 100644
--- a/src/Functions/internal/Set-AzWebAppConfiguration.ps1
+++ b/src/Functions/internal/Set-AzWebAppConfiguration.ps1
@@ -20,13 +20,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
diff --git a/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1
index 9bfdfc9b0a97..3e1a4ae0373e 100644
--- a/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1
+++ b/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1
@@ -20,13 +20,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
diff --git a/src/Functions/internal/Start-AzFunctionApp.ps1 b/src/Functions/internal/Start-AzFunctionApp.ps1
index 2682e9806372..fd14a8cfc042 100644
--- a/src/Functions/internal/Start-AzFunctionApp.ps1
+++ b/src/Functions/internal/Start-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Description for Starts an app (or deployment slot, if specified).
.Description
Description for Starts an app (or deployment slot, if specified).
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp
.Example
-PS C:\> Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
+Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Stop-AzFunctionApp.ps1 b/src/Functions/internal/Stop-AzFunctionApp.ps1
index baf18d86a044..15de6c12f5a2 100644
--- a/src/Functions/internal/Stop-AzFunctionApp.ps1
+++ b/src/Functions/internal/Stop-AzFunctionApp.ps1
@@ -20,9 +20,9 @@ Description for Stops an app (or deployment slot, if specified).
.Description
Description for Stops an app (or deployment slot, if specified).
.Example
-PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
+Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force
.Example
-PS C:\> Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
+Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Sync-AzFunction.ps1 b/src/Functions/internal/Sync-AzFunction.ps1
index abe4cf26d18b..6aa96be7b870 100644
--- a/src/Functions/internal/Sync-AzFunction.ps1
+++ b/src/Functions/internal/Sync-AzFunction.ps1
@@ -20,13 +20,9 @@ Description for Syncs function trigger metadata to the management database
.Description
Description for Syncs function trigger metadata to the management database
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity
diff --git a/src/Functions/internal/Test-AzNameAvailability.ps1 b/src/Functions/internal/Test-AzNameAvailability.ps1
index d13d9f6351f7..fb6245b16c20 100644
--- a/src/Functions/internal/Test-AzNameAvailability.ps1
+++ b/src/Functions/internal/Test-AzNameAvailability.ps1
@@ -20,13 +20,9 @@ Description for Check if a resource name is available.
.Description
Description for Check if a resource name is available.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest
diff --git a/src/Functions/internal/Update-AzFunctionApp.ps1 b/src/Functions/internal/Update-AzFunctionApp.ps1
index 4f67b22ee270..3031992fbb82 100644
--- a/src/Functions/internal/Update-AzFunctionApp.ps1
+++ b/src/Functions/internal/Update-AzFunctionApp.ps1
@@ -20,13 +20,13 @@ Description for Creates a new web, mobile, or API app in an existing resource gr
.Description
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force
.Example
-PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
+Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource
diff --git a/src/Functions/internal/Update-AzFunctionAppPlan.ps1 b/src/Functions/internal/Update-AzFunctionAppPlan.ps1
index d322d1d27625..a4f1633cb64f 100644
--- a/src/Functions/internal/Update-AzFunctionAppPlan.ps1
+++ b/src/Functions/internal/Update-AzFunctionAppPlan.ps1
@@ -20,12 +20,11 @@ Description for Creates or updates an App Service Plan.
.Description
Description for Creates or updates an App Service Plan.
.Example
-PS C:\> Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
- -Name MyPremiumPlan `
- -MaximumWorkerCount 20 `
- -Sku EP2 `
- -Force
-
+Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
+ -Name MyPremiumPlan `
+ -MaximumWorkerCount 20 `
+ -Sku EP2 `
+ -Force
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource
diff --git a/src/Functions/internal/Update-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Update-AzUserAssignedIdentity.ps1
index 96fd50d85c81..488feb1c36c9 100644
--- a/src/Functions/internal/Update-AzUserAssignedIdentity.ps1
+++ b/src/Functions/internal/Update-AzUserAssignedIdentity.ps1
@@ -20,13 +20,9 @@ Update an identity in the specified subscription and resource group.
.Description
Update an identity in the specified subscription and resource group.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate
diff --git a/src/Functions/internal/Update-AzWebAppConfiguration.ps1 b/src/Functions/internal/Update-AzWebAppConfiguration.ps1
index 1bf5fc2dc472..de759607c114 100644
--- a/src/Functions/internal/Update-AzWebAppConfiguration.ps1
+++ b/src/Functions/internal/Update-AzWebAppConfiguration.ps1
@@ -20,13 +20,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource
diff --git a/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1
index 57f9d2c9192c..17e6dcaa0fea 100644
--- a/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1
+++ b/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1
@@ -20,13 +20,9 @@ Description for Updates the configuration of an app.
.Description
Description for Updates the configuration of an app.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+{{ Add code here }}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource