< Back

Set-AzureRmVirtualNetworkGatewayConnection

Tue Jan 29, 2019 9:58 pm

NAME Set-AzureRmVirtualNetworkGatewayConnection



SYNOPSIS

Configures a virtual network gateway connection.





SYNTAX

Set-AzureRmVirtualNetworkGatewayConnection [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-EnableBgp <Boolean>] [-Force] [-IpsecPolicies

<System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSIpsecPolicy]>] [-UsePolicyBasedTrafficSelectors <Boolean>]

-VirtualNetworkGatewayConnection <PSVirtualNetworkGatewayConnection> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmVirtualNetworkGatewayConnection cmdlet configures a virtual network gateway connection.





PARAMETERS

-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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



-EnableBgp <Boolean>

Whether to use a BGP session over a S2S VPN tunnel



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-IpsecPolicies <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSIpsecPolicy]>

A list of IPSec policies.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-UsePolicyBasedTrafficSelectors <Boolean>

Whether to use policy-based traffic selectors for a S2S connection



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VirtualNetworkGatewayConnection <PSVirtualNetworkGatewayConnection>

Specifies the PSVirtualNetworkGatewayConnection object that this cmdlet uses to modify the virtual network gateway connection.



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

PSVirtualNetworkGatewayConnection

Parameter 'VirtualNetworkGatewayConnection' accepts value of type 'PSVirtualNetworkGatewayConnection' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayConnection







NOTES









1:















RELATED LINKS

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

Get-AzureRmVirtualNetworkGatewayConnection

New-AzureRmVirtualNetworkGatewayConnection

Remove-AzureRmVirtualNetworkGatewayConnection