Reset-AzureRmVirtualNetworkGateway

Syntax

Reset-AzureRmVirtualNetworkGateway
     -VirtualNetworkGateway <PSVirtualNetworkGateway>
     [-GatewayVip <String>]
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]

Examples

1:

Required Parameters

-VirtualNetworkGateway
Type:Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGateway
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GatewayVip

The gateway vip in order to reset particular gateway instance (e.g. in case of Active-Active feature enabled gateways.) By default, gateway primary instance will be reset if no value is passed.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Inputs

String

Parameter 'GatewayVip' accepts value of type 'String' from the pipeline

Inputs

PSVirtualNetworkGateway

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

Outputs

Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGateway