Skip to content

Commit 4706eb0

Browse files
Merge branch 'aca/networking-updates' of https://github.com/craigshoemaker/azure-docs-pr into aca/networking-updates
2 parents 46a63dd + 70eaf4c commit 4706eb0

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

articles/container-apps/vnet-custom-internal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following example shows you how to create a Container Apps environment in an
3535

3636
| Setting | Value |
3737
|---|---|
38-
| Subnet Name | Enter **my-vnet-subnet**. |
38+
| Subnet Name | Enter **infrastructure-subnet**. |
3939
| Virtual Network Address Block | Keep the default values. |
4040
| Subnet Address Block | Keep the default values. |
4141

@@ -111,7 +111,7 @@ az network vnet create `
111111
az network vnet subnet create `
112112
--resource-group $RESOURCE_GROUP `
113113
--vnet-name $VNET_NAME `
114-
--name infrastructure `
114+
--name infrastructure-subnet `
115115
--address-prefixes 10.0.0.0/23
116116
```
117117

@@ -126,7 +126,7 @@ VNET_RESOURCE_ID=`az network vnet show --resource-group ${RESOURCE_GROUP} --name
126126
```
127127

128128
```bash
129-
INFRASTRUCTURE_SUBNET=`az network vnet subnet show --resource-group ${RESOURCE_GROUP} --vnet-name $VNET_NAME --name infrastructure --query "id" -o tsv | tr -d '[:space:]'`
129+
INFRASTRUCTURE_SUBNET=`az network vnet subnet show --resource-group ${RESOURCE_GROUP} --vnet-name $VNET_NAME --name infrastructure-subnet --query "id" -o tsv | tr -d '[:space:]'`
130130
```
131131

132132
# [PowerShell](#tab/powershell)
@@ -136,7 +136,7 @@ $VNET_RESOURCE_ID=(az network vnet show --resource-group $RESOURCE_GROUP --name
136136
```
137137

138138
```powershell
139-
$INFRASTRUCTURE_SUBNET=(az network vnet subnet show --resource-group $RESOURCE_GROUP --vnet-name $VNET_NAME --name infrastructure --query "id" -o tsv)
139+
$INFRASTRUCTURE_SUBNET=(az network vnet subnet show --resource-group $RESOURCE_GROUP --vnet-name $VNET_NAME --name infrastructure-subnet --query "id" -o tsv)
140140
```
141141

142142
---

articles/container-apps/vnet-custom.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following example shows you how to create a Container Apps environment in an
3535

3636
| Setting | Value |
3737
|---|---|
38-
| Subnet Name | Enter **my-vnet-subnet**. |
38+
| Subnet Name | Enter **infrastructure-subnet**. |
3939
| Virtual Network Address Block | Keep the default values. |
4040
| Subnet Address Block | Keep the default values. |
4141

@@ -74,10 +74,10 @@ $VNET_NAME="my-custom-vnet"
7474

7575
---
7676

77-
Now create an instance of the virtual network to associate with the Container Apps environment. The virtual network must have and single subnet available for the container apps instance.
77+
Now create an Azure virtual network to associate with the Container Apps environment. The virtual network must have a subnet available for the environment deployment.
7878

7979
> [!NOTE]
80-
> You can use an existing virtual network, but an empty subnet is required to use with Container Apps.
80+
> You can use an existing virtual network, but a dedicated subnet is required for use with Container Apps.
8181
8282
# [Bash](#tab/bash)
8383

@@ -93,7 +93,7 @@ az network vnet create \
9393
az network vnet subnet create \
9494
--resource-group $RESOURCE_GROUP \
9595
--vnet-name $VNET_NAME \
96-
--name infrastructure \
96+
--name infrastructure-subnet \
9797
--address-prefixes 10.0.0.0/23
9898
```
9999

@@ -111,13 +111,13 @@ az network vnet create `
111111
az network vnet subnet create `
112112
--resource-group $RESOURCE_GROUP `
113113
--vnet-name $VNET_NAME `
114-
--name infrastructure `
114+
--name infrastructure-subnet `
115115
--address-prefixes 10.0.0.0/23
116116
```
117117

118118
---
119119

120-
With the VNET established, you can now query for the VNET and infrastructure subnet ID.
120+
With the virtual network created, you can retrieve the IDs for both the VNET and the infrastructure subnet.
121121

122122
# [Bash](#tab/bash)
123123

@@ -126,7 +126,7 @@ VNET_RESOURCE_ID=`az network vnet show --resource-group ${RESOURCE_GROUP} --name
126126
```
127127

128128
```bash
129-
INFRASTRUCTURE_SUBNET=`az network vnet subnet show --resource-group ${RESOURCE_GROUP} --vnet-name $VNET_NAME --name infrastructure --query "id" -o tsv | tr -d '[:space:]'`
129+
INFRASTRUCTURE_SUBNET=`az network vnet subnet show --resource-group ${RESOURCE_GROUP} --vnet-name $VNET_NAME --name infrastructure-subnet --query "id" -o tsv | tr -d '[:space:]'`
130130
```
131131

132132
# [PowerShell](#tab/powershell)
@@ -136,12 +136,12 @@ $VNET_RESOURCE_ID=(az network vnet show --resource-group $RESOURCE_GROUP --name
136136
```
137137

138138
```powershell
139-
$INFRASTRUCTURE_SUBNET=(az network vnet subnet show --resource-group $RESOURCE_GROUP --vnet-name $VNET_NAME --name infrastructure --query "id" -o tsv)
139+
$INFRASTRUCTURE_SUBNET=(az network vnet subnet show --resource-group $RESOURCE_GROUP --vnet-name $VNET_NAME --name infrastructure-subnet --query "id" -o tsv)
140140
```
141141

142142
---
143143

144-
Finally, create the Container Apps environment with the VNET and subnet.
144+
Finally, create the Container Apps environment using the custom VNET deployed in the preceding steps.
145145

146146
# [Bash](#tab/bash)
147147

@@ -177,7 +177,7 @@ The following table describes the parameters used in `containerapp env create`.
177177
| `location` | The Azure location where the environment is to deploy. |
178178
| `infrastructure-subnet-resource-id` | Resource ID of a subnet for infrastructure components and user application containers. |
179179

180-
With your environment created in your custom virtual network, you can deploy container apps into the environment using the `az containerapp create` command.
180+
With your environment created using a custom virtual network, you can now deploy container apps using the `az containerapp create` command.
181181

182182
### Optional configuration
183183

0 commit comments

Comments
 (0)