Skip to content

Commit

Permalink
Update New-AzVirtualNetworkSubnetConfig.md (#22561)
Browse files Browse the repository at this point in the history
`New-AzVirtualSubnetConfig` does not exists but `New-AzVirtualNetworkSubnetConfig` does.
  • Loading branch information
coolhome authored Aug 15, 2023
1 parent ac10d1b commit 5e07fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Network/Network/help/New-AzVirtualNetworkSubnetConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ New-AzVirtualNetwork -Name MyVirtualNetwork -ResourceGroupName TestResourceGroup
```

This example creates two new subnet configurations using the
New-AzVirtualSubnetConfig cmdlet, and then uses them to create a virtual network.
The New-AzVirtualSubnetConfig template only creates an in-memory representation of
New-AzVirtualNetworkSubnetConfig cmdlet, and then uses them to create a virtual network.
The New-AzVirtualNetworkSubnetConfig template only creates an in-memory representation of
the subnet. In this example, the frontendSubnet has CIDR 10.0.1.0/24 and references a
network security group that allows RDP access. The backendSubnet has CIDR 10.0.2.0/24 and
references the same network security group.
Expand Down

0 comments on commit 5e07fd4

Please sign in to comment.