< Back

Set-AzureRmLocalNetworkGateway

Tue Jan 29, 2019 9:58 pm

NAME Set-AzureRmLocalNetworkGateway



SYNOPSIS

Modifies a local network gateway.





SYNTAX

Set-AzureRmLocalNetworkGateway [-AddressPrefix <System.Collections.Generic.List`1[System.String]>] [-AsJob] [-Asn <UInt32>] [-BgpPeeringAddress

<String>] [-DefaultProfile <IAzureContextContainer>] -LocalNetworkGateway <PSLocalNetworkGateway> [-PeerWeight <Int32>] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmLocalNetworkGateway cmdlet modifies a local network gateway.





PARAMETERS

-AddressPrefix <System.Collections.Generic.List`1[System.String]>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Asn <UInt32>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-BgpPeeringAddress <String>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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



-LocalNetworkGateway <PSLocalNetworkGateway>





Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-PeerWeight <Int32>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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

PSLocalNetworkGateway

Parameter 'LocalNetworkGateway' accepts value of type 'PSLocalNetworkGateway' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSLocalNetworkGateway







NOTES









1:















RELATED LINKS

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

Get-AzureRmLocalNetworkGateway

New-AzureRmLocalNetworkGateway

Remove-AzureRmLocalNetworkGateway