< Back
New-AzureRmVirtualNetworkGatewayIpConfig
Post
NAME New-AzureRmVirtualNetworkGatewayIpConfig
SYNOPSIS
Creates an IP Configuration for a Virtual Network Gateway
SYNTAX
New-AzureRmVirtualNetworkGatewayIpConfig [-DefaultProfile <IAzureContextContainer>] -Name <String> [-PrivateIpAddress <String>] [-PublicIpAddress
<PSPublicIpAddress>] [-Subnet <PSSubnet>] [<CommonParameters>]
New-AzureRmVirtualNetworkGatewayIpConfig [-DefaultProfile <IAzureContextContainer>] -Name <String> [-PrivateIpAddress <String>]
[-PublicIpAddressId <String>] [-SubnetId <String>] [<CommonParameters>]
DESCRIPTION
The New-AzureRmVirtualNetworkGatewayIpConfig cmdlet creates a configuration assigned to a Virtual Network Gateway with a (previously created)
Public IP Address based on Subnet ID.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PrivateIpAddress <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PublicIpAddress <PSPublicIpAddress>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PublicIpAddressId <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Subnet <PSSubnet>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SubnetId <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayIpConfiguration
NOTES
1: Create an IP Configuration for a Virtual Network Gateway
$gwIpConfig = New-AzureRmVirtualNetworkGatewayIpConfig -Name myGWIpConfig -SubnetId $myGWsubnet.Id -PublicIpAddressId $myGWpip.Id
Configures a Virtual Network Gateway with a Public IP Address. The variable $myGWsubnet is obtained using the
Get-AzureRmVirtualNetworkSubnetConfig cmdlet on the "GatewaySubnet" within the Virtual Network you intend to create a Virtual Network Gateway. The
variable $myGWpip is obtained using the New-AzureRmPublicIpAddress cmdlet.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ayipconfig
SYNOPSIS
Creates an IP Configuration for a Virtual Network Gateway
SYNTAX
New-AzureRmVirtualNetworkGatewayIpConfig [-DefaultProfile <IAzureContextContainer>] -Name <String> [-PrivateIpAddress <String>] [-PublicIpAddress
<PSPublicIpAddress>] [-Subnet <PSSubnet>] [<CommonParameters>]
New-AzureRmVirtualNetworkGatewayIpConfig [-DefaultProfile <IAzureContextContainer>] -Name <String> [-PrivateIpAddress <String>]
[-PublicIpAddressId <String>] [-SubnetId <String>] [<CommonParameters>]
DESCRIPTION
The New-AzureRmVirtualNetworkGatewayIpConfig cmdlet creates a configuration assigned to a Virtual Network Gateway with a (previously created)
Public IP Address based on Subnet ID.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PrivateIpAddress <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PublicIpAddress <PSPublicIpAddress>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PublicIpAddressId <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Subnet <PSSubnet>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SubnetId <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayIpConfiguration
NOTES
1: Create an IP Configuration for a Virtual Network Gateway
$gwIpConfig = New-AzureRmVirtualNetworkGatewayIpConfig -Name myGWIpConfig -SubnetId $myGWsubnet.Id -PublicIpAddressId $myGWpip.Id
Configures a Virtual Network Gateway with a Public IP Address. The variable $myGWsubnet is obtained using the
Get-AzureRmVirtualNetworkSubnetConfig cmdlet on the "GatewaySubnet" within the Virtual Network you intend to create a Virtual Network Gateway. The
variable $myGWpip is obtained using the New-AzureRmPublicIpAddress cmdlet.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ayipconfig