New-AzContainerGroup private Network #15179
Answered
by
BethanyZhou
arueger8222
asked this question in
Q&A
-
Hello I try to create a Azure Container Group with a private VNet assigned. Code:
But I recieve this Error:
How can I add the ContainerInstance to my private VNet? I am using an Azure Function to create the ContainerInstance. |
Beta Was this translation helpful? Give feedback.
Answered by
BethanyZhou
Jun 16, 2021
Replies: 1 comment
-
Hi @arueger8222 , please upgrade Az.ContainerInstance to its latest version since Az.ContainerInstance <2.0.0 only supports Public VNet: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dingmeng-xue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @arueger8222 , please upgrade Az.ContainerInstance to its latest version since Az.ContainerInstance <2.0.0 only supports Public VNet:
azure-powershell/src/ContainerInstance/ContainerInstance/Commands/NewAzureContainerGroupCommand.cs
Lines 184 to 191 in 5ddae26