From 61d9703adf32e7eeaecbb2ff0c71adefbe82a948 Mon Sep 17 00:00:00 2001 From: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com> Date: Thu, 22 Dec 2022 06:22:40 +0000 Subject: [PATCH 1/3] Move App to main --- src/App/App.sln | 116 +++++------------- src/App/Az.App.psd1 | 2 +- .../New-AzContainerAppCustomDomainObject.ps1 | 2 +- .../New-AzContainerAppDaprMetadataObject.ps1 | 2 +- ...New-AzContainerAppEnvironmentVarObject.ps1 | 2 +- ...w-AzContainerAppIdentityProviderObject.ps1 | 2 +- .../New-AzContainerAppProbeHeaderObject.ps1 | 2 +- .../custom/New-AzContainerAppProbeObject.ps1 | 2 +- ...AzContainerAppRegistryCredentialObject.ps1 | 2 +- .../New-AzContainerAppScaleRuleAuthObject.ps1 | 2 +- .../New-AzContainerAppScaleRuleObject.ps1 | 2 +- .../custom/New-AzContainerAppSecretObject.ps1 | 2 +- .../New-AzContainerAppTemplateObject.ps1 | 2 +- .../New-AzContainerAppTrafficWeightObject.ps1 | 2 +- .../New-AzContainerAppVolumeMountObject.ps1 | 2 +- .../custom/New-AzContainerAppVolumeObject.ps1 | 2 +- src/App/examples/New-AzContainerApp.md | 8 +- .../New-AzContainerAppScaleRuleObject.md | 7 +- .../New-AzContainerAppTrafficWeightObject.md | 2 +- src/App/exports/New-AzContainerApp.ps1 | 8 +- .../New-AzContainerAppCustomDomainObject.ps1 | 2 +- .../New-AzContainerAppDaprMetadataObject.ps1 | 2 +- ...New-AzContainerAppEnvironmentVarObject.ps1 | 2 +- ...w-AzContainerAppIdentityProviderObject.ps1 | 2 +- .../New-AzContainerAppProbeHeaderObject.ps1 | 2 +- .../exports/New-AzContainerAppProbeObject.ps1 | 2 +- ...AzContainerAppRegistryCredentialObject.ps1 | 2 +- .../New-AzContainerAppScaleRuleAuthObject.ps1 | 2 +- .../New-AzContainerAppScaleRuleObject.ps1 | 6 +- .../New-AzContainerAppSecretObject.ps1 | 2 +- .../New-AzContainerAppTemplateObject.ps1 | 2 +- .../New-AzContainerAppTrafficWeightObject.ps1 | 4 +- .../New-AzContainerAppVolumeMountObject.ps1 | 2 +- .../New-AzContainerAppVolumeObject.ps1 | 2 +- src/App/exports/ProxyCmdletDefinitions.ps1 | 42 ++++--- src/App/generate-info.json | 2 +- src/App/help/New-AzContainerApp.md | 6 +- .../New-AzContainerAppCustomDomainObject.md | 2 +- .../New-AzContainerAppDaprMetadataObject.md | 2 +- .../New-AzContainerAppEnvironmentVarObject.md | 2 +- ...ew-AzContainerAppIdentityProviderObject.md | 2 +- .../New-AzContainerAppProbeHeaderObject.md | 2 +- src/App/help/New-AzContainerAppProbeObject.md | 2 +- ...-AzContainerAppRegistryCredentialObject.md | 2 +- .../New-AzContainerAppScaleRuleAuthObject.md | 2 +- .../help/New-AzContainerAppScaleRuleObject.md | 7 +- .../help/New-AzContainerAppSecretObject.md | 2 +- .../help/New-AzContainerAppTemplateObject.md | 2 +- .../New-AzContainerAppTrafficWeightObject.md | 2 +- .../New-AzContainerAppVolumeMountObject.md | 2 +- .../help/New-AzContainerAppVolumeObject.md | 2 +- 51 files changed, 131 insertions(+), 157 deletions(-) diff --git a/src/App/App.sln b/src/App/App.sln index 2f8de0e5034f..a0ff0338bd15 100644 --- a/src/App/App.sln +++ b/src/App/App.sln @@ -1,104 +1,52 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.6.30114.105 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{C1CF396F-9CD2-4908-8263-BEF049864BD8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{2525238E-CD02-43EF-94BD-CB117D4570C2}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{45352CBC-E056-4B57-B472-B2BD182E0026}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{C7AB3753-6093-4836-8084-A7E1BFE4A8E3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{14E328C5-1E40-43D3-B005-D8F1A7E77FD0}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{1C91DD2D-EA46-463D-ACD8-22DA3FE8847F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{DD366FE2-BB7E-4EC9-85C9-40859420C99C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{9F393E0D-1617-4489-B6AB-4E91E3AEE397}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{84FFA918-3D46-42AE-8A98-ADB224D49B71}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{C7153CD1-8A3E-45A9-A55B-6CFEA65F792B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.App", "Az.App.csproj", "{972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.App", "Az.App.csproj", "{2C332323-0AC8-4391-9DC4-38A5C77B985D}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Debug|x64.ActiveCfg = Debug|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Debug|x64.Build.0 = Debug|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Debug|x86.ActiveCfg = Debug|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Debug|x86.Build.0 = Debug|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Release|Any CPU.Build.0 = Release|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Release|x64.ActiveCfg = Release|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Release|x64.Build.0 = Release|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Release|x86.ActiveCfg = Release|Any CPU - {C1CF396F-9CD2-4908-8263-BEF049864BD8}.Release|x86.Build.0 = Release|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Debug|Any CPU.Build.0 = Debug|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Debug|x64.ActiveCfg = Debug|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Debug|x64.Build.0 = Debug|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Debug|x86.ActiveCfg = Debug|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Debug|x86.Build.0 = Debug|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Release|Any CPU.ActiveCfg = Release|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Release|Any CPU.Build.0 = Release|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Release|x64.ActiveCfg = Release|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Release|x64.Build.0 = Release|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Release|x86.ActiveCfg = Release|Any CPU - {45352CBC-E056-4B57-B472-B2BD182E0026}.Release|x86.Build.0 = Release|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Debug|x64.ActiveCfg = Debug|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Debug|x64.Build.0 = Debug|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Debug|x86.ActiveCfg = Debug|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Debug|x86.Build.0 = Debug|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Release|Any CPU.Build.0 = Release|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Release|x64.ActiveCfg = Release|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Release|x64.Build.0 = Release|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Release|x86.ActiveCfg = Release|Any CPU - {14E328C5-1E40-43D3-B005-D8F1A7E77FD0}.Release|x86.Build.0 = Release|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Debug|x64.ActiveCfg = Debug|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Debug|x64.Build.0 = Debug|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Debug|x86.ActiveCfg = Debug|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Debug|x86.Build.0 = Debug|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Release|Any CPU.Build.0 = Release|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Release|x64.ActiveCfg = Release|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Release|x64.Build.0 = Release|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Release|x86.ActiveCfg = Release|Any CPU - {DD366FE2-BB7E-4EC9-85C9-40859420C99C}.Release|x86.Build.0 = Release|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Debug|Any CPU.Build.0 = Debug|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Debug|x64.ActiveCfg = Debug|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Debug|x64.Build.0 = Debug|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Debug|x86.ActiveCfg = Debug|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Debug|x86.Build.0 = Debug|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Release|Any CPU.ActiveCfg = Release|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Release|Any CPU.Build.0 = Release|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Release|x64.ActiveCfg = Release|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Release|x64.Build.0 = Release|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Release|x86.ActiveCfg = Release|Any CPU - {84FFA918-3D46-42AE-8A98-ADB224D49B71}.Release|x86.Build.0 = Release|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Debug|Any CPU.Build.0 = Debug|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Debug|x64.ActiveCfg = Debug|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Debug|x64.Build.0 = Debug|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Debug|x86.ActiveCfg = Debug|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Debug|x86.Build.0 = Debug|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Release|Any CPU.ActiveCfg = Release|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Release|Any CPU.Build.0 = Release|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Release|x64.ActiveCfg = Release|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Release|x64.Build.0 = Release|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Release|x86.ActiveCfg = Release|Any CPU - {972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}.Release|x86.Build.0 = Release|Any CPU + {2525238E-CD02-43EF-94BD-CB117D4570C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2525238E-CD02-43EF-94BD-CB117D4570C2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2525238E-CD02-43EF-94BD-CB117D4570C2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2525238E-CD02-43EF-94BD-CB117D4570C2}.Release|Any CPU.Build.0 = Release|Any CPU + {C7AB3753-6093-4836-8084-A7E1BFE4A8E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7AB3753-6093-4836-8084-A7E1BFE4A8E3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7AB3753-6093-4836-8084-A7E1BFE4A8E3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7AB3753-6093-4836-8084-A7E1BFE4A8E3}.Release|Any CPU.Build.0 = Release|Any CPU + {1C91DD2D-EA46-463D-ACD8-22DA3FE8847F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1C91DD2D-EA46-463D-ACD8-22DA3FE8847F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1C91DD2D-EA46-463D-ACD8-22DA3FE8847F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1C91DD2D-EA46-463D-ACD8-22DA3FE8847F}.Release|Any CPU.Build.0 = Release|Any CPU + {9F393E0D-1617-4489-B6AB-4E91E3AEE397}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9F393E0D-1617-4489-B6AB-4E91E3AEE397}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9F393E0D-1617-4489-B6AB-4E91E3AEE397}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9F393E0D-1617-4489-B6AB-4E91E3AEE397}.Release|Any CPU.Build.0 = Release|Any CPU + {C7153CD1-8A3E-45A9-A55B-6CFEA65F792B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7153CD1-8A3E-45A9-A55B-6CFEA65F792B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7153CD1-8A3E-45A9-A55B-6CFEA65F792B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7153CD1-8A3E-45A9-A55B-6CFEA65F792B}.Release|Any CPU.Build.0 = Release|Any CPU + {2C332323-0AC8-4391-9DC4-38A5C77B985D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2C332323-0AC8-4391-9DC4-38A5C77B985D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2C332323-0AC8-4391-9DC4-38A5C77B985D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2C332323-0AC8-4391-9DC4-38A5C77B985D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/src/App/Az.App.psd1 b/src/App/Az.App.psd1 index 4ca107223191..adcd81cc3a10 100644 --- a/src/App/Az.App.psd1 +++ b/src/App/Az.App.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 11/16/2022 +# Generated on: 12/22/2022 # @{ diff --git a/src/App/custom/New-AzContainerAppCustomDomainObject.ps1 b/src/App/custom/New-AzContainerAppCustomDomainObject.ps1 index 63d29f2478d8..6a0a9ea724f6 100644 --- a/src/App/custom/New-AzContainerAppCustomDomainObject.ps1 +++ b/src/App/custom/New-AzContainerAppCustomDomainObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for CustomDomain. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.CustomDomain .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject #> function New-AzContainerAppCustomDomainObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.CustomDomain')] diff --git a/src/App/custom/New-AzContainerAppDaprMetadataObject.ps1 b/src/App/custom/New-AzContainerAppDaprMetadataObject.ps1 index cddbd68e38b6..f071dd25986d 100644 --- a/src/App/custom/New-AzContainerAppDaprMetadataObject.ps1 +++ b/src/App/custom/New-AzContainerAppDaprMetadataObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for DaprMetadata. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.DaprMetadata .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject #> function New-AzContainerAppDaprMetadataObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.DaprMetadata')] diff --git a/src/App/custom/New-AzContainerAppEnvironmentVarObject.ps1 b/src/App/custom/New-AzContainerAppEnvironmentVarObject.ps1 index 01c51800caca..dd00fd23e515 100644 --- a/src/App/custom/New-AzContainerAppEnvironmentVarObject.ps1 +++ b/src/App/custom/New-AzContainerAppEnvironmentVarObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for EnvironmentVar. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.EnvironmentVar .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject #> function New-AzContainerAppEnvironmentVarObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.EnvironmentVar')] diff --git a/src/App/custom/New-AzContainerAppIdentityProviderObject.ps1 b/src/App/custom/New-AzContainerAppIdentityProviderObject.ps1 index 698eb282b69c..549603290992 100644 --- a/src/App/custom/New-AzContainerAppIdentityProviderObject.ps1 +++ b/src/App/custom/New-AzContainerAppIdentityProviderObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for IdentityProviders. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IdentityProviders .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject #> function New-AzContainerAppIdentityProviderObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IdentityProviders')] diff --git a/src/App/custom/New-AzContainerAppProbeHeaderObject.ps1 b/src/App/custom/New-AzContainerAppProbeHeaderObject.ps1 index 77e2dc14c7a3..d2a249c170a0 100644 --- a/src/App/custom/New-AzContainerAppProbeHeaderObject.ps1 +++ b/src/App/custom/New-AzContainerAppProbeHeaderObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for ContainerAppProbeHttpGetHttpHeadersItem. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbeHttpGetHttpHeadersItem .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject #> function New-AzContainerAppProbeHeaderObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbeHttpGetHttpHeadersItem')] diff --git a/src/App/custom/New-AzContainerAppProbeObject.ps1 b/src/App/custom/New-AzContainerAppProbeObject.ps1 index 9b25ef9a96ed..18f48086856e 100644 --- a/src/App/custom/New-AzContainerAppProbeObject.ps1 +++ b/src/App/custom/New-AzContainerAppProbeObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for ContainerAppProbe. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbe .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeobject #> function New-AzContainerAppProbeObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbe')] diff --git a/src/App/custom/New-AzContainerAppRegistryCredentialObject.ps1 b/src/App/custom/New-AzContainerAppRegistryCredentialObject.ps1 index e0f62bc3cf11..310e1dddb85f 100644 --- a/src/App/custom/New-AzContainerAppRegistryCredentialObject.ps1 +++ b/src/App/custom/New-AzContainerAppRegistryCredentialObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for RegistryCredentials. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.RegistryCredentials .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject #> function New-AzContainerAppRegistryCredentialObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.RegistryCredentials')] diff --git a/src/App/custom/New-AzContainerAppScaleRuleAuthObject.ps1 b/src/App/custom/New-AzContainerAppScaleRuleAuthObject.ps1 index 7688a650f66b..b86c9980c5dc 100644 --- a/src/App/custom/New-AzContainerAppScaleRuleAuthObject.ps1 +++ b/src/App/custom/New-AzContainerAppScaleRuleAuthObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for ScaleRuleAuth. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRuleAuth .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject #> function New-AzContainerAppScaleRuleAuthObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRuleAuth')] diff --git a/src/App/custom/New-AzContainerAppScaleRuleObject.ps1 b/src/App/custom/New-AzContainerAppScaleRuleObject.ps1 index 92f57e6f0426..1a4908ce658d 100644 --- a/src/App/custom/New-AzContainerAppScaleRuleObject.ps1 +++ b/src/App/custom/New-AzContainerAppScaleRuleObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for ScaleRule. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRule .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject #> function New-AzContainerAppScaleRuleObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRule')] diff --git a/src/App/custom/New-AzContainerAppSecretObject.ps1 b/src/App/custom/New-AzContainerAppSecretObject.ps1 index e6683d7b18fd..e82c40acfc34 100644 --- a/src/App/custom/New-AzContainerAppSecretObject.ps1 +++ b/src/App/custom/New-AzContainerAppSecretObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for Secret. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Secret .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappsecretobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappsecretobject #> function New-AzContainerAppSecretObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Secret')] diff --git a/src/App/custom/New-AzContainerAppTemplateObject.ps1 b/src/App/custom/New-AzContainerAppTemplateObject.ps1 index 528dee5ad288..32aa4128f3e2 100644 --- a/src/App/custom/New-AzContainerAppTemplateObject.ps1 +++ b/src/App/custom/New-AzContainerAppTemplateObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for Container. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Container .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject #> function New-AzContainerAppTemplateObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Container')] diff --git a/src/App/custom/New-AzContainerAppTrafficWeightObject.ps1 b/src/App/custom/New-AzContainerAppTrafficWeightObject.ps1 index 114f88b4c112..86c84a11432e 100644 --- a/src/App/custom/New-AzContainerAppTrafficWeightObject.ps1 +++ b/src/App/custom/New-AzContainerAppTrafficWeightObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for TrafficWeight. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.TrafficWeight .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject #> function New-AzContainerAppTrafficWeightObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.TrafficWeight')] diff --git a/src/App/custom/New-AzContainerAppVolumeMountObject.ps1 b/src/App/custom/New-AzContainerAppVolumeMountObject.ps1 index 233664be38e1..ddc18faabacb 100644 --- a/src/App/custom/New-AzContainerAppVolumeMountObject.ps1 +++ b/src/App/custom/New-AzContainerAppVolumeMountObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for VolumeMount. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.VolumeMount .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject #> function New-AzContainerAppVolumeMountObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.VolumeMount')] diff --git a/src/App/custom/New-AzContainerAppVolumeObject.ps1 b/src/App/custom/New-AzContainerAppVolumeObject.ps1 index 9bb156a3956e..81703884db7b 100644 --- a/src/App/custom/New-AzContainerAppVolumeObject.ps1 +++ b/src/App/custom/New-AzContainerAppVolumeObject.ps1 @@ -23,7 +23,7 @@ Create an in-memory object for Volume. .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Volume .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject #> function New-AzContainerAppVolumeObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Volume')] diff --git a/src/App/examples/New-AzContainerApp.md b/src/App/examples/New-AzContainerApp.md index 1f651535f2cd..4fceaa93efaf 100644 --- a/src/App/examples/New-AzContainerApp.md +++ b/src/App/examples/New-AzContainerApp.md @@ -9,7 +9,11 @@ $image = New-AzContainerAppTemplateObject -Name azps-containerapp -Image mcr.mic $EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azpstest_gp -EnvName azps-env).Id -New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" + +New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 -ScaleRule $scaleRule ``` ```output @@ -18,4 +22,4 @@ Location Name ResourceGroupName Canada Central azps-containerapp azpstest_gp ``` -Create or update a Container App. +Create or update a Container App. \ No newline at end of file diff --git a/src/App/examples/New-AzContainerAppScaleRuleObject.md b/src/App/examples/New-AzContainerAppScaleRuleObject.md index 37b22bee59a0..4a4e8f37b5aa 100644 --- a/src/App/examples/New-AzContainerAppScaleRuleObject.md +++ b/src/App/examples/New-AzContainerAppScaleRuleObject.md @@ -1,6 +1,8 @@ ### Example 1: Create a ScaleRule object for ContainerApp. ```powershell -New-AzContainerAppScaleRuleObject -Name scaleRuleName -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" ``` ```output @@ -9,4 +11,5 @@ Name scaleRuleName ``` -Create a ScaleRule object for ContainerApp. \ No newline at end of file +Create a ScaleRule object for ContainerApp. +The ScaleRule object as value of the `ScaleRule` parameter in the cmdlet `New-AzContainerApp`. \ No newline at end of file diff --git a/src/App/examples/New-AzContainerAppTrafficWeightObject.md b/src/App/examples/New-AzContainerAppTrafficWeightObject.md index e7c02b8b1882..e83dfb2f1a4d 100644 --- a/src/App/examples/New-AzContainerAppTrafficWeightObject.md +++ b/src/App/examples/New-AzContainerAppTrafficWeightObject.md @@ -9,4 +9,4 @@ Label LatestRevision RevisionName Weight production True 100 ``` -Create a TrafficWeight object for ContainerApp. +Create a TrafficWeight object for ContainerApp. \ No newline at end of file diff --git a/src/App/exports/New-AzContainerApp.ps1 b/src/App/exports/New-AzContainerApp.ps1 index 67b8ae403edb..54773947c3e2 100644 --- a/src/App/exports/New-AzContainerApp.ps1 +++ b/src/App/exports/New-AzContainerApp.ps1 @@ -20,7 +20,7 @@ Create or update a Container App. .Description Create or update a Container App. .Example -$trafficWeight = New-AzContainerAppTrafficWeightObject -Label production -LatestRevision:$True -Weight 100 +$trafficWeight = New-AzContainerAppTrafficWeightObject -Label production -LatestRevision $True -Weight 100 $secretObject = New-AzContainerAppSecretObject -Name "facebook-secret" -Value "facebook-password" $containerAppHttpHeader = New-AzContainerAppProbeHeaderObject -Name Custom-Header -Value Awesome @@ -29,7 +29,11 @@ $image = New-AzContainerAppTemplateObject -Name azps-containerapp -Image mcr.mic $EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azpstest_gp -EnvName azps-env).Id -New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" + +New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 -ScaleRule $scaleRule .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IContainerApp diff --git a/src/App/exports/New-AzContainerAppCustomDomainObject.ps1 b/src/App/exports/New-AzContainerAppCustomDomainObject.ps1 index ffcdb7a8a01c..fd5a899d9a46 100644 --- a/src/App/exports/New-AzContainerAppCustomDomainObject.ps1 +++ b/src/App/exports/New-AzContainerAppCustomDomainObject.ps1 @@ -27,7 +27,7 @@ $customDomain = New-AzContainerAppCustomDomainObject -CertificateId $certificate .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.CustomDomain .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject #> function New-AzContainerAppCustomDomainObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.CustomDomain])] diff --git a/src/App/exports/New-AzContainerAppDaprMetadataObject.ps1 b/src/App/exports/New-AzContainerAppDaprMetadataObject.ps1 index 26c6daa664d1..f58cb60bc03b 100644 --- a/src/App/exports/New-AzContainerAppDaprMetadataObject.ps1 +++ b/src/App/exports/New-AzContainerAppDaprMetadataObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppDaprMetadataObject -Name "masterkey" -Value "masterkey" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.DaprMetadata .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject #> function New-AzContainerAppDaprMetadataObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.DaprMetadata])] diff --git a/src/App/exports/New-AzContainerAppEnvironmentVarObject.ps1 b/src/App/exports/New-AzContainerAppEnvironmentVarObject.ps1 index e236e01412c9..e81f1f8920e8 100644 --- a/src/App/exports/New-AzContainerAppEnvironmentVarObject.ps1 +++ b/src/App/exports/New-AzContainerAppEnvironmentVarObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppEnvironmentVarObject -Name "envVarName" -SecretRef "facebook-s .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.EnvironmentVar .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject #> function New-AzContainerAppEnvironmentVarObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.EnvironmentVar])] diff --git a/src/App/exports/New-AzContainerAppIdentityProviderObject.ps1 b/src/App/exports/New-AzContainerAppIdentityProviderObject.ps1 index a10cfcbf2840..23d5c0b719ff 100644 --- a/src/App/exports/New-AzContainerAppIdentityProviderObject.ps1 +++ b/src/App/exports/New-AzContainerAppIdentityProviderObject.ps1 @@ -32,7 +32,7 @@ To create the parameters described below, construct a hash table containing the CUSTOMOPENIDCONNECTPROVIDER : The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider. [(Any) ]: This indicates any property can be added to this object. .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject #> function New-AzContainerAppIdentityProviderObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IdentityProviders])] diff --git a/src/App/exports/New-AzContainerAppProbeHeaderObject.ps1 b/src/App/exports/New-AzContainerAppProbeHeaderObject.ps1 index cf7c4011181b..684c0ef4dcd1 100644 --- a/src/App/exports/New-AzContainerAppProbeHeaderObject.ps1 +++ b/src/App/exports/New-AzContainerAppProbeHeaderObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppProbeHeaderObject -Name Custom-Header -Value Awesome .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbeHttpGetHttpHeadersItem .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject #> function New-AzContainerAppProbeHeaderObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbeHttpGetHttpHeadersItem])] diff --git a/src/App/exports/New-AzContainerAppProbeObject.ps1 b/src/App/exports/New-AzContainerAppProbeObject.ps1 index 9e06f12aba65..0359cc49b920 100644 --- a/src/App/exports/New-AzContainerAppProbeObject.ps1 +++ b/src/App/exports/New-AzContainerAppProbeObject.ps1 @@ -33,7 +33,7 @@ HTTPGETHTTPHEADER : Custom headers t Name : The header field name Value : The header field value .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeobject #> function New-AzContainerAppProbeObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbe])] diff --git a/src/App/exports/New-AzContainerAppRegistryCredentialObject.ps1 b/src/App/exports/New-AzContainerAppRegistryCredentialObject.ps1 index 8ebfd14630ed..ca76b860561b 100644 --- a/src/App/exports/New-AzContainerAppRegistryCredentialObject.ps1 +++ b/src/App/exports/New-AzContainerAppRegistryCredentialObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppRegistryCredentialObject -Identity system -PasswordSecretRef " .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.RegistryCredentials .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject #> function New-AzContainerAppRegistryCredentialObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.RegistryCredentials])] diff --git a/src/App/exports/New-AzContainerAppScaleRuleAuthObject.ps1 b/src/App/exports/New-AzContainerAppScaleRuleAuthObject.ps1 index 2658d8f86370..3d1a4189240b 100644 --- a/src/App/exports/New-AzContainerAppScaleRuleAuthObject.ps1 +++ b/src/App/exports/New-AzContainerAppScaleRuleAuthObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppScaleRuleAuthObject -SecretRef "facebook-secret" -TriggerParam .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRuleAuth .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject #> function New-AzContainerAppScaleRuleAuthObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRuleAuth])] diff --git a/src/App/exports/New-AzContainerAppScaleRuleObject.ps1 b/src/App/exports/New-AzContainerAppScaleRuleObject.ps1 index a3ddd13bbbe0..b2ebddb69630 100644 --- a/src/App/exports/New-AzContainerAppScaleRuleObject.ps1 +++ b/src/App/exports/New-AzContainerAppScaleRuleObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for ScaleRule. .Description Create an in-memory object for ScaleRule. .Example -New-AzContainerAppScaleRuleObject -Name scaleRuleName -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRule @@ -47,7 +49,7 @@ HTTPAUTH : Authentication secrets for the custom scale rule. HTTPMETADATA : Metadata properties to describe http scale rule. [(Any) ]: This indicates any property can be added to this object. .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject #> function New-AzContainerAppScaleRuleObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRule])] diff --git a/src/App/exports/New-AzContainerAppSecretObject.ps1 b/src/App/exports/New-AzContainerAppSecretObject.ps1 index 22e5940e9237..de5ba03e2057 100644 --- a/src/App/exports/New-AzContainerAppSecretObject.ps1 +++ b/src/App/exports/New-AzContainerAppSecretObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Secret .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappsecretobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappsecretobject #> function New-AzContainerAppSecretObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Secret])] diff --git a/src/App/exports/New-AzContainerAppTemplateObject.ps1 b/src/App/exports/New-AzContainerAppTemplateObject.ps1 index 0776b992a007..ecfdcd0be86b 100644 --- a/src/App/exports/New-AzContainerAppTemplateObject.ps1 +++ b/src/App/exports/New-AzContainerAppTemplateObject.ps1 @@ -60,7 +60,7 @@ VOLUMEMOUNT : Container volume mounts. [MountPath ]: Path within the container at which the volume should be mounted.Must not contain ':'. [VolumeName ]: This must match the Name of a Volume. .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject #> function New-AzContainerAppTemplateObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Container])] diff --git a/src/App/exports/New-AzContainerAppTrafficWeightObject.ps1 b/src/App/exports/New-AzContainerAppTrafficWeightObject.ps1 index 984da648c733..0d1df2dec8d7 100644 --- a/src/App/exports/New-AzContainerAppTrafficWeightObject.ps1 +++ b/src/App/exports/New-AzContainerAppTrafficWeightObject.ps1 @@ -20,12 +20,12 @@ Create an in-memory object for TrafficWeight. .Description Create an in-memory object for TrafficWeight. .Example -New-AzContainerAppTrafficWeightObject -Label production -LatestRevision:$True -Weight 100 +New-AzContainerAppTrafficWeightObject -Label production -LatestRevision $True -Weight 100 .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.TrafficWeight .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject #> function New-AzContainerAppTrafficWeightObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.TrafficWeight])] diff --git a/src/App/exports/New-AzContainerAppVolumeMountObject.ps1 b/src/App/exports/New-AzContainerAppVolumeMountObject.ps1 index 49cff4b0f9fc..310fcd6aea97 100644 --- a/src/App/exports/New-AzContainerAppVolumeMountObject.ps1 +++ b/src/App/exports/New-AzContainerAppVolumeMountObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppVolumeMountObject -MountPath "/mountPath" -VolumeName "VolumeN .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.VolumeMount .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject #> function New-AzContainerAppVolumeMountObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.VolumeMount])] diff --git a/src/App/exports/New-AzContainerAppVolumeObject.ps1 b/src/App/exports/New-AzContainerAppVolumeObject.ps1 index 8efc01f5e15c..cae6a951264a 100644 --- a/src/App/exports/New-AzContainerAppVolumeObject.ps1 +++ b/src/App/exports/New-AzContainerAppVolumeObject.ps1 @@ -25,7 +25,7 @@ New-AzContainerAppVolumeObject -Name "volumeName" -StorageName "azpssa" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Volume .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject #> function New-AzContainerAppVolumeObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Volume])] diff --git a/src/App/exports/ProxyCmdletDefinitions.ps1 b/src/App/exports/ProxyCmdletDefinitions.ps1 index 69a0aa38ffad..13a11b06d5d5 100644 --- a/src/App/exports/ProxyCmdletDefinitions.ps1 +++ b/src/App/exports/ProxyCmdletDefinitions.ps1 @@ -3404,7 +3404,7 @@ Create or update a Container App. .Description Create or update a Container App. .Example -$trafficWeight = New-AzContainerAppTrafficWeightObject -Label production -LatestRevision:$True -Weight 100 +$trafficWeight = New-AzContainerAppTrafficWeightObject -Label production -LatestRevision $True -Weight 100 $secretObject = New-AzContainerAppSecretObject -Name "facebook-secret" -Value "facebook-password" $containerAppHttpHeader = New-AzContainerAppProbeHeaderObject -Name Custom-Header -Value Awesome @@ -3413,7 +3413,11 @@ $image = New-AzContainerAppTemplateObject -Name azps-containerapp -Image mcr.mic $EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azpstest_gp -EnvName azps-env).Id -New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" + +New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 -ScaleRule $scaleRule .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IContainerApp @@ -5951,7 +5955,7 @@ $customDomain = New-AzContainerAppCustomDomainObject -CertificateId $certificate .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.CustomDomain .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject #> function New-AzContainerAppCustomDomainObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.CustomDomain])] @@ -6063,7 +6067,7 @@ New-AzContainerAppDaprMetadataObject -Name "masterkey" -Value "masterkey" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.DaprMetadata .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject #> function New-AzContainerAppDaprMetadataObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.DaprMetadata])] @@ -6173,7 +6177,7 @@ New-AzContainerAppEnvironmentVarObject -Name "envVarName" -SecretRef "facebook-s .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.EnvironmentVar .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject #> function New-AzContainerAppEnvironmentVarObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.EnvironmentVar])] @@ -6290,7 +6294,7 @@ To create the parameters described below, construct a hash table containing the CUSTOMOPENIDCONNECTPROVIDER : The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider. [(Any) ]: This indicates any property can be added to this object. .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject #> function New-AzContainerAppIdentityProviderObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IdentityProviders])] @@ -6648,7 +6652,7 @@ New-AzContainerAppProbeHeaderObject -Name Custom-Header -Value Awesome .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbeHttpGetHttpHeadersItem .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject #> function New-AzContainerAppProbeHeaderObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbeHttpGetHttpHeadersItem])] @@ -6760,7 +6764,7 @@ HTTPGETHTTPHEADER : Custom headers t Name : The header field name Value : The header field value .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeobject #> function New-AzContainerAppProbeObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ContainerAppProbe])] @@ -6969,7 +6973,7 @@ New-AzContainerAppRegistryCredentialObject -Identity system -PasswordSecretRef " .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.RegistryCredentials .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject #> function New-AzContainerAppRegistryCredentialObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.RegistryCredentials])] @@ -7087,7 +7091,7 @@ New-AzContainerAppScaleRuleAuthObject -SecretRef "facebook-secret" -TriggerParam .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRuleAuth .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject #> function New-AzContainerAppScaleRuleAuthObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRuleAuth])] @@ -7186,7 +7190,9 @@ Create an in-memory object for ScaleRule. .Description Create an in-memory object for ScaleRule. .Example -New-AzContainerAppScaleRuleObject -Name scaleRuleName -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRule @@ -7213,7 +7219,7 @@ HTTPAUTH : Authentication secrets for the custom scale rule. HTTPMETADATA : Metadata properties to describe http scale rule. [(Any) ]: This indicates any property can be added to this object. .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject #> function New-AzContainerAppScaleRuleObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ScaleRule])] @@ -7365,7 +7371,7 @@ New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Secret .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappsecretobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappsecretobject #> function New-AzContainerAppSecretObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Secret])] @@ -7504,7 +7510,7 @@ VOLUMEMOUNT : Container volume mounts. [MountPath ]: Path within the container at which the volume should be mounted.Must not contain ':'. [VolumeName ]: This must match the Name of a Volume. .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject #> function New-AzContainerAppTemplateObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Container])] @@ -7650,12 +7656,12 @@ Create an in-memory object for TrafficWeight. .Description Create an in-memory object for TrafficWeight. .Example -New-AzContainerAppTrafficWeightObject -Label production -LatestRevision:$True -Weight 100 +New-AzContainerAppTrafficWeightObject -Label production -LatestRevision $True -Weight 100 .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.TrafficWeight .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject #> function New-AzContainerAppTrafficWeightObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.TrafficWeight])] @@ -7771,7 +7777,7 @@ New-AzContainerAppVolumeMountObject -MountPath "/mountPath" -VolumeName "VolumeN .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.VolumeMount .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject #> function New-AzContainerAppVolumeMountObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.VolumeMount])] @@ -7875,7 +7881,7 @@ New-AzContainerAppVolumeObject -Name "volumeName" -StorageName "azpssa" .Outputs Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Volume .Link -https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject +https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject #> function New-AzContainerAppVolumeObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.Volume])] diff --git a/src/App/generate-info.json b/src/App/generate-info.json index 1f5983acc74e..facc92eb8fb4 100644 --- a/src/App/generate-info.json +++ b/src/App/generate-info.json @@ -1,5 +1,5 @@ { - "swagger_commit": "fa7609844bc20b126037dfb180ef7155c2174f7b", + "swagger_commit": "e0aca4c32155a2568fdad5cb91028206930f0053", "node": "v14.15.5", "autorest": "`-- (empty)", "autorest_core": "3.9.3", diff --git a/src/App/help/New-AzContainerApp.md b/src/App/help/New-AzContainerApp.md index 5a88f0378557..64efb928ec8b 100644 --- a/src/App/help/New-AzContainerApp.md +++ b/src/App/help/New-AzContainerApp.md @@ -41,7 +41,11 @@ $image = New-AzContainerAppTemplateObject -Name azps-containerapp -Image mcr.mic $EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azpstest_gp -EnvName azps-env).Id -New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" + +New-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationActiveRevisionsMode 'Single' -ManagedEnvironmentId $EnvId -IngressExternal -IngressTransport 'auto' -IngressTargetPort 80 -TemplateContainer $image -ConfigurationSecret $secretObject -IngressTraffic $trafficWeight -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 -ScaleRule $scaleRule ``` ```output diff --git a/src/App/help/New-AzContainerAppCustomDomainObject.md b/src/App/help/New-AzContainerAppCustomDomainObject.md index 7b4fad8d4426..27cc981960e2 100644 --- a/src/App/help/New-AzContainerAppCustomDomainObject.md +++ b/src/App/help/New-AzContainerAppCustomDomainObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappcustomdomainobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppDaprMetadataObject.md b/src/App/help/New-AzContainerAppDaprMetadataObject.md index 81d7ebac83d5..34c2e9f9f719 100644 --- a/src/App/help/New-AzContainerAppDaprMetadataObject.md +++ b/src/App/help/New-AzContainerAppDaprMetadataObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappdaprmetadataobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppEnvironmentVarObject.md b/src/App/help/New-AzContainerAppEnvironmentVarObject.md index d79177d77cf1..bad218b9a969 100644 --- a/src/App/help/New-AzContainerAppEnvironmentVarObject.md +++ b/src/App/help/New-AzContainerAppEnvironmentVarObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappenvironmentvarobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppIdentityProviderObject.md b/src/App/help/New-AzContainerAppIdentityProviderObject.md index 9c55f967aa6d..eea798750e94 100644 --- a/src/App/help/New-AzContainerAppIdentityProviderObject.md +++ b/src/App/help/New-AzContainerAppIdentityProviderObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappidentityproviderobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppProbeHeaderObject.md b/src/App/help/New-AzContainerAppProbeHeaderObject.md index 95f1c332bc9e..9919a0b10b07 100644 --- a/src/App/help/New-AzContainerAppProbeHeaderObject.md +++ b/src/App/help/New-AzContainerAppProbeHeaderObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeheaderobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppProbeObject.md b/src/App/help/New-AzContainerAppProbeObject.md index f6332e581d9d..446723a1abc0 100644 --- a/src/App/help/New-AzContainerAppProbeObject.md +++ b/src/App/help/New-AzContainerAppProbeObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappprobeobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappprobeobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppRegistryCredentialObject.md b/src/App/help/New-AzContainerAppRegistryCredentialObject.md index 2da2de6ba04a..bec433f08e6e 100644 --- a/src/App/help/New-AzContainerAppRegistryCredentialObject.md +++ b/src/App/help/New-AzContainerAppRegistryCredentialObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappregistrycredentialobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppScaleRuleAuthObject.md b/src/App/help/New-AzContainerAppScaleRuleAuthObject.md index 39c684706355..0523f7361500 100644 --- a/src/App/help/New-AzContainerAppScaleRuleAuthObject.md +++ b/src/App/help/New-AzContainerAppScaleRuleAuthObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleauthobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppScaleRuleObject.md b/src/App/help/New-AzContainerAppScaleRuleObject.md index f148ba98b0c1..1fb1d6e89d0a 100644 --- a/src/App/help/New-AzContainerAppScaleRuleObject.md +++ b/src/App/help/New-AzContainerAppScaleRuleObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappscaleruleobject schema: 2.0.0 --- @@ -26,7 +26,9 @@ Create an in-memory object for ScaleRule. ### Example 1: Create a ScaleRule object for ContainerApp. ```powershell -New-AzContainerAppScaleRuleObject -Name scaleRuleName -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule = @() +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName1 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" +$scaleRule += New-AzContainerAppScaleRuleObject -Name scaleRuleName2 -AzureQueueLength 30 -AzureQueueName azps_containerapp -CustomType "azure-servicebus" ``` ```output @@ -36,6 +38,7 @@ scaleRuleName ``` Create a ScaleRule object for ContainerApp. +The ScaleRule object as value of the `ScaleRule` parameter in the cmdlet `New-AzContainerApp`. ## PARAMETERS diff --git a/src/App/help/New-AzContainerAppSecretObject.md b/src/App/help/New-AzContainerAppSecretObject.md index bf2a1b69aedb..a982d60e5e38 100644 --- a/src/App/help/New-AzContainerAppSecretObject.md +++ b/src/App/help/New-AzContainerAppSecretObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappsecretobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappsecretobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppTemplateObject.md b/src/App/help/New-AzContainerAppTemplateObject.md index fe562cd55346..d92ea06c2b48 100644 --- a/src/App/help/New-AzContainerAppTemplateObject.md +++ b/src/App/help/New-AzContainerAppTemplateObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerapptemplateobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppTrafficWeightObject.md b/src/App/help/New-AzContainerAppTrafficWeightObject.md index 5282eaa06822..54f7144f523c 100644 --- a/src/App/help/New-AzContainerAppTrafficWeightObject.md +++ b/src/App/help/New-AzContainerAppTrafficWeightObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerapptrafficweightobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppVolumeMountObject.md b/src/App/help/New-AzContainerAppVolumeMountObject.md index 6f8603d08dbf..04029bda330f 100644 --- a/src/App/help/New-AzContainerAppVolumeMountObject.md +++ b/src/App/help/New-AzContainerAppVolumeMountObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumemountobject schema: 2.0.0 --- diff --git a/src/App/help/New-AzContainerAppVolumeObject.md b/src/App/help/New-AzContainerAppVolumeObject.md index edada6353c19..d6538b699f2d 100644 --- a/src/App/help/New-AzContainerAppVolumeObject.md +++ b/src/App/help/New-AzContainerAppVolumeObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.App -online version: https://docs.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject +online version: https://learn.microsoft.com/powershell/module/az./new-azcontainerappvolumeobject schema: 2.0.0 --- From 99435e684dba61d668bb871e3dc67020a99e970f Mon Sep 17 00:00:00 2001 From: Lucas Yao <53558334+LucasYao93@users.noreply.github.com> Date: Thu, 22 Dec 2022 14:50:55 +0800 Subject: [PATCH 2/3] Update Changelog.md --- src/App/Changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Changelog.md b/src/App/Changelog.md index ab59dce73fe9..4ad38ab87eca 100644 --- a/src/App/Changelog.md +++ b/src/App/Changelog.md @@ -18,7 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release - +* Added enrich example for the cmdlet `New-AzContainerAppScaleRuleObject`.[#20334] ## Version 0.1.0 * First preview release for module Az.App From 7cd93e6a971910758256c86186627a7fcab550c7 Mon Sep 17 00:00:00 2001 From: Jin Lei <54836179+msJinLei@users.noreply.github.com> Date: Mon, 26 Dec 2022 12:58:08 +0800 Subject: [PATCH 3/3] Update Changelog.md Add empty line between upcoming release and the latest released version. --- src/App/Changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App/Changelog.md b/src/App/Changelog.md index 4ad38ab87eca..327f910207a5 100644 --- a/src/App/Changelog.md +++ b/src/App/Changelog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release * Added enrich example for the cmdlet `New-AzContainerAppScaleRuleObject`.[#20334] + ## Version 0.1.0 * First preview release for module Az.App