Skip to content

Commit ee64742

Browse files
Merge pull request #278440 from tysonfms/patch-57
Update container-instances-vnet.md
2 parents 53597d2 + 4702f50 commit ee64742

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

articles/container-instances/container-instances-vnet.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ ms.custom: devx-track-azurecli
1717
This article shows how to use the [az container create][az-container-create] command in the Azure CLI to deploy container groups to either a new virtual network or an existing virtual network.
1818

1919
> [!IMPORTANT]
20-
> Before deploying container groups in virtual networks, we suggest checking the limitation first. For networking scenarios and limitations, see [Virtual network scenarios and resources for Azure Container Instances](container-instances-virtual-network-concepts.md).
21-
22-
> [!IMPORTANT]
23-
> Container group deployment to a virtual network is generally available for Linux and Windows containers, in most regions where Azure Container Instances is available. For details, see [available-regions][available-regions].
20+
> * Subnets must be delegated before using a virtual network
21+
> * Before deploying container groups in virtual networks, we suggest checking the limitation first. For networking scenarios and limitations, see [Virtual network scenarios and resources for Azure Container Instances](container-instances-virtual-network-concepts.md).
22+
> * Container group deployment to a virtual network is generally available for Linux and Windows containers, in most regions where Azure Container Instances is available. For details, see [available-regions][available-regions].
2423
2524
[!INCLUDE [network profile callout](./includes/network-profile/network-profile-callout.md)]
2625

@@ -63,11 +62,10 @@ When you deploy to a new virtual network by using this method, the deployment ca
6362

6463
To deploy a container group to an existing virtual network:
6564

66-
1. Create a subnet within your existing virtual network, use an existing subnet in which a container group is already deployed, or use an existing subnet emptied of *all* other resources and configuration.
65+
1. Create a subnet within your existing virtual network, use an existing subnet in which a container group is already deployed, or use an existing subnet emptied of *all* other resources and configuration.The subnet that you use for container groups can contain only container groups. Before you deploy a container group to a subnet, you must explicitly delegate the subnet before provisioning. Once delegated, the subnet can be used only for container groups. If you attempt to deploy resources other than container groups to a delegated subnet, the operation fails.
6766
1. Deploy a container group with [az container create][az-container-create] and specify one of the following:
6867
* Virtual network name and subnet name
6968
* Virtual network resource ID and subnet resource ID, which allows using a virtual network from a different resource group
70-
* Network profile name or ID, which you can obtain using [az network profile list][az-network-profile-list]
7169

7270
### Example
7371

0 commit comments

Comments
 (0)