Skip to content

Migrate App from generation to main #20146

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

Merged
merged 5 commits into from
Nov 17, 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
156 changes: 78 additions & 78 deletions src/App/App.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.6.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{AD9266EC-8AAA-41FD-AC17-44A5905A0076}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{C1CF396F-9CD2-4908-8263-BEF049864BD8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{27988362-7387-4899-972F-0ECE3992571F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{45352CBC-E056-4B57-B472-B2BD182E0026}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{48DCF322-161D-43F2-872B-3F1C8BE70449}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{14E328C5-1E40-43D3-B005-D8F1A7E77FD0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{9E340544-09F9-4461-A688-F4369805E9DA}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{DD366FE2-BB7E-4EC9-85C9-40859420C99C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{D22A9238-897A-4F97-809A-432303919C5D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{84FFA918-3D46-42AE-8A98-ADB224D49B71}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.App", "Az.App.csproj", "{6C168278-3CBF-44EE-84B8-DBF9F37846CF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.App", "Az.App.csproj", "{972EAEE7-93B6-4E4E-BD3A-C7EEAF7C6399}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -28,77 +28,77 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Debug|x64.ActiveCfg = Debug|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Debug|x64.Build.0 = Debug|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Debug|x86.ActiveCfg = Debug|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Debug|x86.Build.0 = Debug|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Release|Any CPU.Build.0 = Release|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Release|x64.ActiveCfg = Release|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Release|x64.Build.0 = Release|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Release|x86.ActiveCfg = Release|Any CPU
{AD9266EC-8AAA-41FD-AC17-44A5905A0076}.Release|x86.Build.0 = Release|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Debug|x64.ActiveCfg = Debug|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Debug|x64.Build.0 = Debug|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Debug|x86.ActiveCfg = Debug|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Debug|x86.Build.0 = Debug|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Release|Any CPU.Build.0 = Release|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Release|x64.ActiveCfg = Release|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Release|x64.Build.0 = Release|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Release|x86.ActiveCfg = Release|Any CPU
{27988362-7387-4899-972F-0ECE3992571F}.Release|x86.Build.0 = Release|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Debug|Any CPU.Build.0 = Debug|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Debug|x64.ActiveCfg = Debug|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Debug|x64.Build.0 = Debug|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Debug|x86.ActiveCfg = Debug|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Debug|x86.Build.0 = Debug|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Release|Any CPU.ActiveCfg = Release|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Release|Any CPU.Build.0 = Release|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Release|x64.ActiveCfg = Release|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Release|x64.Build.0 = Release|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Release|x86.ActiveCfg = Release|Any CPU
{48DCF322-161D-43F2-872B-3F1C8BE70449}.Release|x86.Build.0 = Release|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Debug|x64.ActiveCfg = Debug|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Debug|x64.Build.0 = Debug|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Debug|x86.ActiveCfg = Debug|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Debug|x86.Build.0 = Debug|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Release|Any CPU.Build.0 = Release|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Release|x64.ActiveCfg = Release|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Release|x64.Build.0 = Release|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Release|x86.ActiveCfg = Release|Any CPU
{9E340544-09F9-4461-A688-F4369805E9DA}.Release|x86.Build.0 = Release|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Debug|x64.ActiveCfg = Debug|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Debug|x64.Build.0 = Debug|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Debug|x86.ActiveCfg = Debug|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Debug|x86.Build.0 = Debug|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Release|Any CPU.Build.0 = Release|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Release|x64.ActiveCfg = Release|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Release|x64.Build.0 = Release|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Release|x86.ActiveCfg = Release|Any CPU
{D22A9238-897A-4F97-809A-432303919C5D}.Release|x86.Build.0 = Release|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Debug|x64.ActiveCfg = Debug|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Debug|x64.Build.0 = Debug|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Debug|x86.ActiveCfg = Debug|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Debug|x86.Build.0 = Debug|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Release|Any CPU.Build.0 = Release|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Release|x64.ActiveCfg = Release|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Release|x64.Build.0 = Release|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Release|x86.ActiveCfg = Release|Any CPU
{6C168278-3CBF-44EE-84B8-DBF9F37846CF}.Release|x86.Build.0 = Release|Any CPU
{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
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: 6/22/2022
# Generated on: 11/16/2022
#

@{
Expand Down
2 changes: 1 addition & 1 deletion src/App/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@ directive:
- where:
subject: ContainerAppCustomHostName
remove: true
```
```
2 changes: 1 addition & 1 deletion src/App/create-model-cmdlets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Create an in-memory object for ${ObjectType}.
.Outputs
${ObjectTypeWithNamespace}
.Link
https://docs.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
#>
function New-Az${ModulePrefix}${ObjectType}Object {
[OutputType('${ObjectTypeWithNamespace}')]
Expand Down
4 changes: 2 additions & 2 deletions src/App/examples/New-AzContainerApp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Create or update a Container App.
```powershell
$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
Expand All @@ -18,4 +18,4 @@ Location Name ResourceGroupName
Canada Central azps-containerapp azpstest_gp
```

Create or update a Container App.
Create or update a Container App.
6 changes: 5 additions & 1 deletion src/App/examples/New-AzContainerAppTemplateObject.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
### Example 1: Create an image object for Container.
```powershell
New-AzContainerAppTemplateObject -Name azps-containerapp -Image mcr.microsoft.com/azuredocs/containerapps-helloworld:latest -Probe $probe -ResourceCpu 2.0 -ResourceMemory 4.0Gi
$containerAppHttpHeader = New-AzContainerAppProbeHeaderObject -Name Custom-Header -Value Awesome
$probeArray = @()
$probeArray += New-AzContainerAppProbeObject -HttpGetPath "/health01" -HttpGetPort 8080 -InitialDelaySecond 3 -PeriodSecond 3 -Type Liveness -HttpGetHttpHeader $containerAppHttpHeader
$probeArray += New-AzContainerAppProbeObject -HttpGetPath "/health02" -HttpGetPort 8080 -InitialDelaySecond 3 -PeriodSecond 3 -Type Liveness -HttpGetHttpHeader $containerAppHttpHeader
New-AzContainerAppTemplateObject -Name azps-containerapp -Image mcr.microsoft.com/azuredocs/containerapps-helloworld:latest -Probe $probeArray -ResourceCpu 2.0 -ResourceMemory 4.0Gi
```

```output
Expand Down
4 changes: 2 additions & 2 deletions src/App/examples/New-AzContainerAppTrafficWeightObject.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Create a TrafficWeight object for ContainerApp.
```powershell
New-AzContainerAppTrafficWeightObject -Label production -LatestRevision:$True -Weight 100
New-AzContainerAppTrafficWeightObject -Label production -LatestRevision $True -Weight 100
```

```output
Expand All @@ -9,4 +9,4 @@ Label LatestRevision RevisionName Weight
production True 100
```

Create a TrafficWeight object for ContainerApp.
Create a TrafficWeight object for ContainerApp.
2 changes: 1 addition & 1 deletion src/App/exports/Disable-AzContainerAppRevision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ INPUTOBJECT <IAppIdentity>: Identity Parameter
[StorageName <String>]: Name of the storage.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.app/disable-azcontainerapprevision
https://learn.microsoft.com/powershell/module/az.app/disable-azcontainerapprevision
#>
function Disable-AzContainerAppRevision {
[OutputType([System.Boolean])]
Expand Down
2 changes: 1 addition & 1 deletion src/App/exports/Enable-AzContainerAppRevision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ INPUTOBJECT <IAppIdentity>: Identity Parameter
[StorageName <String>]: Name of the storage.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.app/enable-azcontainerapprevision
https://learn.microsoft.com/powershell/module/az.app/enable-azcontainerapprevision
#>
function Enable-AzContainerAppRevision {
[OutputType([System.Boolean])]
Expand Down
2 changes: 1 addition & 1 deletion src/App/exports/Get-AzContainerApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ INPUTOBJECT <IAppIdentity>: Identity Parameter
[StorageName <String>]: Name of the storage.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.app/get-azcontainerapp
https://learn.microsoft.com/powershell/module/az.app/get-azcontainerapp
#>
function Get-AzContainerApp {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IContainerApp])]
Expand Down
2 changes: 1 addition & 1 deletion src/App/exports/Get-AzContainerAppAuthConfig.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ INPUTOBJECT <IAppIdentity>: Identity Parameter
[StorageName <String>]: Name of the storage.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.app/get-azcontainerappauthconfig
https://learn.microsoft.com/powershell/module/az.app/get-azcontainerappauthconfig
#>
function Get-AzContainerAppAuthConfig {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IAuthConfig])]
Expand Down
2 changes: 1 addition & 1 deletion src/App/exports/Get-AzContainerAppManagedEnv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ INPUTOBJECT <IAppIdentity>: Identity Parameter
[StorageName <String>]: Name of the storage.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.app/get-azcontainerappmanagedenv
https://learn.microsoft.com/powershell/module/az.app/get-azcontainerappmanagedenv
#>
function Get-AzContainerAppManagedEnv {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IManagedEnvironment])]
Expand Down
2 changes: 1 addition & 1 deletion src/App/exports/Get-AzContainerAppManagedEnvCert.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ INPUTOBJECT <IAppIdentity>: Identity Parameter
[StorageName <String>]: Name of the storage.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.app/get-azcontainerappmanagedenvcert
https://learn.microsoft.com/powershell/module/az.app/get-azcontainerappmanagedenvcert
#>
function Get-AzContainerAppManagedEnvCert {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ICertificate])]
Expand Down
2 changes: 1 addition & 1 deletion src/App/exports/Get-AzContainerAppManagedEnvDapr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ INPUTOBJECT <IAppIdentity>: Identity Parameter
[StorageName <String>]: Name of the storage.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.app/get-azcontainerappmanagedenvdapr
https://learn.microsoft.com/powershell/module/az.app/get-azcontainerappmanagedenvdapr
#>
function Get-AzContainerAppManagedEnvDapr {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDaprComponent])]
Expand Down
Loading