Set-AzureRmLocalNetworkGateway

Modifies a local network gateway.

Syntax

Set-AzureRmLocalNetworkGateway
   -LocalNetworkGateway <PSLocalNetworkGateway>
   [-AddressPrefix <System.Collections.Generic.List`1[System.String]>]
   [-Asn <UInt32>]
   [-BgpPeeringAddress <String>]
   [-PeerWeight <Int32>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Set-AzureRmLocalNetworkGateway cmdlet modifies a local network gateway.

Examples

1:

Required Parameters

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

Optional Parameters

-AddressPrefix
Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Asn
Type:UInt32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-BgpPeeringAddress
Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-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
-PeerWeight
Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

PSLocalNetworkGateway

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

Outputs

Microsoft.Azure.Commands.Network.Models.PSLocalNetworkGateway