Skip to content

Commit d2a8afc

Browse files
committed
Renamed powershell parameter
1 parent 86220e7 commit d2a8afc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Network/Network/VirtualNetwork/NewAzureVirtualNetworkCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ public class NewAzureVirtualNetworkCommand : VirtualNetworkBaseCmdlet
7575
[Parameter(
7676
Mandatory = false,
7777
ValueFromPipelineByPropertyName = true,
78-
HelpMessage = "The BGP Community of the Virtual Network")]
79-
public string VirtualNetworkCommunity { get; set; }
78+
HelpMessage = "The BGP Community advertised over ExpressRoute.")]
79+
public string BgpCommunity { get; set; }
8080

8181
[Parameter(
8282
Mandatory = false,
@@ -143,9 +143,9 @@ private PSVirtualNetwork CreateVirtualNetwork()
143143
vnet.DdosProtectionPlan = new PSResourceId {Id = DdosProtectionPlanId};
144144
}
145145

146-
if (!string.IsNullOrWhiteSpace(VirtualNetworkCommunity))
146+
if (!string.IsNullOrWhiteSpace(BgpCommunity))
147147
{
148-
vnet.BgpCommunities = new PSVirtualNetworkBgpCommunities {VirtualNetworkCommunity = this.VirtualNetworkCommunity};
148+
vnet.BgpCommunities = new PSVirtualNetworkBgpCommunities {VirtualNetworkCommunity = this.BgpCommunity};
149149
}
150150

151151
// Map to the sdk object

0 commit comments

Comments
 (0)