The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
Creates the object of the Local Network Gateway with the name "myLocalGW" within the resource group
"myRG" in ___location "West US" with the IP address "23.99.221.164" and the address prefix
"10.5.51.0/24" on-prem.
Parameters
-AddressPrefix
The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
The Local Network Gateway is the object representing your VPN device On-Premises.
The New-AzLocalNetworkGateway cmdlet creates the object representing your on-prem gateway
based on the Name, Resource Group Name, Location, and IP Address of the gateway, as well as the
Address Prefix of the On-Premises network which will be connecting to Azure.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.