Skip to content

Commit c41e822

Browse files
committed
#0 rename parameter
1 parent 1ac80dd commit c41e822

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ public class GetAzureDedicatedCircuitPeeringArpInfoCommand : ExpressRouteBaseCmd
6767

6868
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true,
6969
HelpMessage = "Device Path: Primary or Secondary")]
70-
public DevicePath BgpPeeringDevicePath { get; set; }
70+
public DevicePath Path { get; set; }
7171

7272
public override void ExecuteCmdlet()
7373
{
74-
var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringArpInfo(ServiceKey, AccessType, BgpPeeringDevicePath);
74+
var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringArpInfo(ServiceKey, AccessType, Path);
7575
// parse output to a more user-friendly output
7676
StringBuilder sb = new StringBuilder();
7777
sb.AppendLine("");

src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ public class GetAzureDedicatedCircuitPeeringRouteTableInfoCommand : ExpressRoute
3535

3636
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true,
3737
HelpMessage = "Device Path: Primary or Secondary")]
38-
public DevicePath BgpPeeringDevicePath { get; set; }
38+
public DevicePath Path { get; set; }
3939

4040
public override void ExecuteCmdlet()
4141
{
42-
var routeTable = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableInfo(ServiceKey, AccessType, BgpPeeringDevicePath);
42+
var routeTable = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableInfo(ServiceKey, AccessType, Path);
4343
StringBuilder sb = new StringBuilder();
4444
sb.AppendLine("");
4545
sb.AppendLine("Route Table Info:");

src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ public class GetAzureDedicatedCircuitPeeringRouteTableSummaryCommand : ExpressRo
3535

3636
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true,
3737
HelpMessage = "Device Path: Primary or Secondary")]
38-
public DevicePath BgpPeeringDevicePath { get; set; }
38+
public DevicePath Path { get; set; }
3939

4040
public override void ExecuteCmdlet()
4141
{
42-
var routeSummary = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableSummary(ServiceKey, AccessType, BgpPeeringDevicePath);
42+
var routeSummary = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableSummary(ServiceKey, AccessType, Path);
4343
StringBuilder sb = new StringBuilder();
4444
sb.AppendLine("");
4545
sb.AppendLine("Route Table Summary:");

0 commit comments

Comments
 (0)