153
CHAPTER 5 | Azure Virtual
Networks
-Location $Location -AddressPrefix $VNetAddressPrefix `
-Subnet $FrontEndSubnetConfig, $BackEndSubnetConfig, $GatewaySubnetConfig `
-DnsServer $DNS
6.
Save the values for the VNet you just created in variables to be used later.
$vnet = Get-AzureRmVirtualNetwork -Name $VNetName -ResourceGroupName $ResourceGroup
$subnetConfig = Get-AzureRmVirtualNetworkSubnetConfig -Name $GatewaySubnetName `
-VirtualNetwork $vnet
Do'stlaringiz bilan baham: