1
- // ----------------------------------------------------------------------------------
2
- //
3
- // Copyright Microsoft Corporation
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
- // ----------------------------------------------------------------------------------
1
+ //
2
+ //
3
+ // Copyright Microsoft Corporation
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ //
14
14
15
+ using System . Collections ;
15
16
using System . Collections . Generic ;
16
17
using System . Management . Automation ;
18
+ using AutoMapper ;
19
+ using Microsoft . Azure . Commands . Tags . Model ;
17
20
using Microsoft . Azure . Management . Network ;
18
21
using Microsoft . Azure . Commands . Network . Models ;
19
22
using MNM = Microsoft . Azure . Management . Network . Models ;
20
23
21
24
namespace Microsoft . Azure . Commands . Network
22
25
{
23
26
using System ;
27
+ using System . Collections ;
24
28
using System . Linq ;
25
29
26
30
using AutoMapper ;
27
31
28
- [ Cmdlet ( VerbsCommon . Get , "AzureExpressRouteCircuitRouteTableSummary " ) , OutputType ( typeof ( PSExpressRouteCircuitRoutesTableSummary ) ) ]
29
- public class GetAzureExpressRouteCircuitRouteTableSummaryCommand : NetworkBaseCmdlet
32
+ [ Cmdlet ( VerbsCommon . Get , "AzureRmExpressRouteCircuitRouteTableSummary " ) , OutputType ( typeof ( PSExpressRouteCircuitRoutesTableSummary ) ) ]
33
+ public class GetAzureRmExpressRouteCircuitRouteTableSummaryCommand : NetworkBaseCmdlet
30
34
{
31
35
[ Alias ( "ResourceName" ) ]
32
36
[ Parameter (
@@ -64,7 +68,7 @@ public class GetAzureExpressRouteCircuitRouteTableSummaryCommand : NetworkBaseCm
64
68
Mandatory = true ,
65
69
HelpMessage = "The DevicePath, can be either Primary or Secondary" ) ]
66
70
[ ValidateNotNullOrEmpty ]
67
- public string DevicePath { get ; set ; }
71
+ public string DevicePath { get ; set ; }
68
72
69
73
public override void ExecuteCmdlet ( )
70
74
{
@@ -80,7 +84,8 @@ public override void ExecuteCmdlet()
80
84
psARPs . Add ( psARP ) ;
81
85
}
82
86
WriteObject ( psARPs , true ) ;
83
- }
87
+ }
84
88
}
85
89
}
86
- }
90
+
91
+ }
0 commit comments