Request a dynamically assigned public IP address for the gateway
7.
Request a dynamically assigned public IP address. This is required for the gateway to work
properly. You will connect this to the gateway IP configuration in a future step.
$pip = New-AzureRmPublicIpAddress -Name $GatewayIpName -ResourceGroupName $ResourceGroup `
-Location $Location –AllocationMethod Dynamic
$ipConfig = New-AzureRmVirtualNetworkGatewayIpConfig -Name $GatewayIpConfigName `
-Subnet $subnetConfig -PublicIpAddress $pip
Do'stlaringiz bilan baham: |