Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Migrate App from generation to main #20502

Merged
merged 3 commits into from
Dec 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 32 additions & 84 deletions src/App/App.sln
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/App/Az.App.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 11/16/2022
# Generated on: 12/22/2022
#

@{
Expand Down
1 change: 1 addition & 0 deletions src/App/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +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
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppCustomDomainObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppDaprMetadataObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppEnvironmentVarObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppProbeHeaderObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppProbeObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppScaleRuleAuthObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppScaleRuleObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppSecretObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppTemplateObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppTrafficWeightObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppVolumeMountObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
2 changes: 1 addition & 1 deletion src/App/custom/New-AzContainerAppVolumeObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down
8 changes: 6 additions & 2 deletions src/App/examples/New-AzContainerApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
7 changes: 5 additions & 2 deletions src/App/examples/New-AzContainerAppScaleRuleObject.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,4 +11,5 @@ Name
scaleRuleName
```

Create a ScaleRule object for ContainerApp.
Create a ScaleRule object for ContainerApp.
The ScaleRule object as value of the `ScaleRule` parameter in the cmdlet `New-AzContainerApp`.
2 changes: 1 addition & 1 deletion src/App/examples/New-AzContainerAppTrafficWeightObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Label LatestRevision RevisionName Weight
production True 100
```

Create a TrafficWeight object for ContainerApp.
Create a TrafficWeight object for ContainerApp.
Loading