Skip to content

Commit 743d5c5

Browse files
authored
Merge pull request #97510 from ProgrammerAl/patch-1
Added missing `properties.` to example query commands
2 parents 3e57baa + ddf67ee commit 743d5c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/container-apps/vnet-custom.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ First, extract identifiable information from the environment.
221221
# [Bash](#tab/bash)
222222

223223
```bash
224-
ENVIRONMENT_DEFAULT_DOMAIN=`az containerapp env show --name ${CONTAINERAPPS_ENVIRONMENT} --resource-group ${RESOURCE_GROUP} --query defaultDomain --out json | tr -d '"'`
224+
ENVIRONMENT_DEFAULT_DOMAIN=`az containerapp env show --name ${CONTAINERAPPS_ENVIRONMENT} --resource-group ${RESOURCE_GROUP} --query properties.defaultDomain --out json | tr -d '"'`
225225
```
226226

227227
```bash
228-
ENVIRONMENT_STATIC_IP=`az containerapp env show --name ${CONTAINERAPPS_ENVIRONMENT} --resource-group ${RESOURCE_GROUP} --query staticIp --out json | tr -d '"'`
228+
ENVIRONMENT_STATIC_IP=`az containerapp env show --name ${CONTAINERAPPS_ENVIRONMENT} --resource-group ${RESOURCE_GROUP} --query properties.staticIp --out json | tr -d '"'`
229229
```
230230

231231
```bash
@@ -236,6 +236,7 @@ VNET_ID=`az network vnet show --resource-group ${RESOURCE_GROUP} --name ${VNET_N
236236

237237
```azurepowershell
238238
$EnvironmentDefaultDomain = (Get-AzContainerAppManagedEnv -EnvName $ContainerAppsEnvironment -ResourceGroupName $ResourceGroupName).DefaultDomain
239+
239240
```
240241

241242
```azurepowershell

0 commit comments

Comments
 (0)