Skip to content

Commit 69b4b07

Browse files
committed
Link PowerShell objects with API docs
1 parent 07c6cf8 commit 69b4b07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/container-apps/environment-variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ az containerapp create -n my-containerapp -g MyResourceGroup \
3939

4040
### [PowerShell](#tab/powershell)
4141

42-
If you want to use PowerShell you have to, first, create a in-memory object called Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar using the [New-AzContainerAppEnvironmentVarObject](/powershell/module/az.app/new-azcontainerappenvironmentvarobject) PowerShell cmdlet.
42+
If you want to use PowerShell you have to, first, create a in-memory object called [EnvironmentVar](/dotnet/api/Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar) using the [New-AzContainerAppEnvironmentVarObject](/powershell/module/az.app/new-azcontainerappenvironmentvarobject) PowerShell cmdlet.
4343

4444
To use this cmdlet, you have to pass the name of the environment variable using the `-Name` parameter and the value using the `-Value` parameter, respectively.
4545

@@ -53,7 +53,7 @@ If you want to reference a secret, you have to ensure that the secret you want t
5353
$envVar = New-AzContainerAppEnvironmentVarObject -Name "envVarName" -SecretRef "secretName"
5454
```
5555

56-
Then you have to create another in-memory object called Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container using the [New-AzContainerAppTemplateObject](/powershell/module/az.app/new-azcontainerapptemplateobject) PowerShell cmdlet.
56+
Then you have to create another in-memory object called [Container](/dotnet/api/Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container) using the [New-AzContainerAppTemplateObject](/powershell/module/az.app/new-azcontainerapptemplateobject) PowerShell cmdlet.
5757

5858
On this cmdlet, you have to pass the name of your container image (not the container app!) you desire using the `-Name` parameter, the fully qualified image name using the `-Image` parameter and reference the environment object you defined previously on the variable `$envVar`.
5959

@@ -117,7 +117,7 @@ az containerapp update \
117117

118118
### [PowerShell](#tab/powershell)
119119

120-
Similarly to what you need to do upon creating a new Container App you have to create an object called Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar, which is contained within a Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container. This Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container is then used with the [New-AzContainerApp](/powershell/module/az.app/new-azcontainerapp) PowerShell cmdlet.
120+
Similarly to what you need to do upon creating a new Container App you have to create an object called [EnvironmentVar](/dotnet/api/Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar), which is contained within a [Container](/dotnet/api/Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container). This [Container](/dotnet/api/Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container) is then used with the [New-AzContainerApp](/powershell/module/az.app/new-azcontainerapp) PowerShell cmdlet.
121121

122122
In this cmdlet, you only need to pass the template object you defined previously as described on the [Configuring environment variables](#configuring-environment-variables) section.
123123

0 commit comments

Comments
 (0)