Skip to content

Commit 35c97bd

Browse files
authored
Merge pull request #120889 from bhgtankita/patch-2
Add subnet value specification for the NetworkSettings class when VNet is created under different resource group
2 parents 4f453bf + f8bc603 commit 35c97bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/machine-learning/how-to-secure-training-vnet.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ compute = AmlCompute(
248248
ml_client.begin_create_or_update(entity=compute)
249249
```
250250

251+
> [!NOTE]
252+
> When configuring the **subnet** within NetworkSettings class, it should be either the name of the subnet when creating a new VNet or referencing an existing one, or the fully qualified resource ID of a subnet in an existing VNet. Do not specify **vnet_name** if the subnet ID is specified. The subnet ID can refer to a VNet/subnet in another resource group.
253+
251254
# [Studio](#tab/azure-studio)
252255

253256
1. Sign in to the [Azure Machine Learning studio](https://ml.azure.com), and then select your subscription and workspace.
@@ -416,6 +419,9 @@ compute = AmlCompute(
416419
ml_client.begin_create_or_update(entity=compute)
417420
```
418421

422+
> [!NOTE]
423+
> When configuring the **subnet** within NetworkSettings class, it should be either the name of the subnet when creating a new VNet or referencing an existing one, or the fully qualified resource ID of a subnet in an existing VNet. Do not specify **vnet_name** if the subnet ID is specified. The subnet ID can refer to a VNet/subnet in another resource group.
424+
419425
# [Studio](#tab/azure-studio)
420426

421427
1. Sign in to the [Azure Machine Learning studio](https://ml.azure.com), and then select your subscription and workspace.

0 commit comments

Comments
 (0)