< Back

Add-AzureRmVirtualNetworkGatewayIpConfig

Tue Jan 29, 2019 9:53 pm

NAME Add-AzureRmVirtualNetworkGatewayIpConfig



SYNOPSIS

Adds an IP configuration to a virtual network gateway.





SYNTAX

Add-AzureRmVirtualNetworkGatewayIpConfig [-DefaultProfile <IAzureContextContainer>] -Name <String> [-PrivateIpAddress <String>] [-PublicIpAddress

<PSPublicIpAddress>] [-Subnet <PSSubnet>] -VirtualNetworkGateway <PSVirtualNetworkGateway> [-Confirm] [-WhatIf] [<CommonParameters>]



Add-AzureRmVirtualNetworkGatewayIpConfig [-DefaultProfile <IAzureContextContainer>] -Name <String> [-PrivateIpAddress <String>]

[-PublicIpAddressId <String>] [-SubnetId <String>] -VirtualNetworkGateway <PSVirtualNetworkGateway> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Add-AzureRmVirtualNetworkGatewayIpConfig cmdlet adds an IP configuration to a virtual network gateway.





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>

Specifies the name of the gateway IP configuration to add.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PrivateIpAddress <String>

Specifies the private IP address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PublicIpAddress <PSPublicIpAddress>

Specifies the public IP address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PublicIpAddressId <String>

Specifies the ID of the public IP address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Subnet <PSSubnet>

Specifies a PSSubnet object.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SubnetId <String>

Specifies the ID of the subnet.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VirtualNetworkGateway <PSVirtualNetworkGateway>

Specifies a PSVirtualNetworkGateway object. This cmdlet modifies the PSVirtualNetworkGateway object that you specify. You can use the

Get-AzureRmVirtualNetworkGateway cmdlet to retrieve a PSVirtualNetworkGateway object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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

PSVirtualNetworkGateway

Parameter 'VirtualNetworkGateway' accepts value of type 'PSVirtualNetworkGateway' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGateway







NOTES









1:















RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ayipconfig

Get-AzureRmVirtualNetworkGateway

New-AzureRmVirtualNetworkGatewayIpConfig

Remove-AzureRmVirtualNetworkGatewayIpConfig