File tree Expand file tree Collapse file tree 9 files changed +66
-1
lines changed
src/ResourceManager/Network/Commands.Network/Models Expand file tree Collapse file tree 9 files changed +66
-1
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,13 @@ namespace Microsoft.Azure.Commands.Network.Models
21
21
22
22
public class PSBackendAddressPool : PSChildResource
23
23
{
24
+ [ JsonProperty ( Order = 1 ) ]
24
25
public List < PSResourceId > BackendIpConfigurations { get ; set ; }
25
26
27
+ [ JsonProperty ( Order = 1 ) ]
26
28
public List < PSResourceId > LoadBalancingRules { get ; set ; }
27
29
30
+ [ JsonProperty ( Order = 1 ) ]
28
31
public string ProvisioningState { get ; set ; }
29
32
30
33
[ JsonIgnore ]
Original file line number Diff line number Diff line change @@ -21,18 +21,25 @@ namespace Microsoft.Azure.Commands.Network.Models
21
21
22
22
public class PSFrontendIPConfiguration : PSChildResource
23
23
{
24
+ [ JsonProperty ( Order = 1 ) ]
24
25
public string PrivateIpAddress { get ; set ; }
25
26
27
+ [ JsonProperty ( Order = 1 ) ]
26
28
public string PrivateIpAllocationMethod { get ; set ; }
27
29
30
+ [ JsonProperty ( Order = 1 ) ]
28
31
public PSResourceId Subnet { get ; set ; }
29
32
33
+ [ JsonProperty ( Order = 1 ) ]
30
34
public PSResourceId PublicIpAddress { get ; set ; }
31
35
36
+ [ JsonProperty ( Order = 1 ) ]
32
37
public List < PSResourceId > InboundNatRules { get ; set ; }
33
38
39
+ [ JsonProperty ( Order = 1 ) ]
34
40
public List < PSResourceId > LoadBalancingRules { get ; set ; }
35
41
42
+ [ JsonProperty ( Order = 1 ) ]
36
43
public string ProvisioningState { get ; set ; }
37
44
38
45
[ JsonIgnore ]
Original file line number Diff line number Diff line change @@ -19,20 +19,28 @@ namespace Microsoft.Azure.Commands.Network.Models
19
19
20
20
public class PSInboundNatRule : PSChildResource
21
21
{
22
+ [ JsonProperty ( Order = 1 ) ]
22
23
public PSResourceId FrontendIPConfiguration { get ; set ; }
23
24
25
+ [ JsonProperty ( Order = 1 ) ]
24
26
public PSResourceId BackendIPConfiguration { get ; set ; }
25
27
28
+ [ JsonProperty ( Order = 1 ) ]
26
29
public string Protocol { get ; set ; }
27
30
31
+ [ JsonProperty ( Order = 1 ) ]
28
32
public int FrontendPort { get ; set ; }
29
33
34
+ [ JsonProperty ( Order = 1 ) ]
30
35
public int BackendPort { get ; set ; }
31
36
37
+ [ JsonProperty ( Order = 1 ) ]
32
38
public int ? IdleTimeoutInMinutes { get ; set ; }
33
39
40
+ [ JsonProperty ( Order = 1 ) ]
34
41
public bool EnableFloatingIP { get ; set ; }
35
42
43
+ [ JsonProperty ( Order = 1 ) ]
36
44
public string ProvisioningState { get ; set ; }
37
45
38
46
[ JsonIgnore ]
Original file line number Diff line number Diff line change @@ -19,24 +19,34 @@ namespace Microsoft.Azure.Commands.Network.Models
19
19
20
20
public class PSLoadBalancingRule : PSChildResource
21
21
{
22
+ [ JsonProperty ( Order = 1 ) ]
22
23
public PSResourceId FrontendIPConfiguration { get ; set ; }
23
24
25
+ [ JsonProperty ( Order = 1 ) ]
24
26
public PSResourceId BackendAddressPool { get ; set ; }
25
27
28
+ [ JsonProperty ( Order = 1 ) ]
26
29
public PSResourceId Probe { get ; set ; }
27
30
31
+ [ JsonProperty ( Order = 1 ) ]
28
32
public string Protocol { get ; set ; }
29
33
34
+ [ JsonProperty ( Order = 1 ) ]
30
35
public int FrontendPort { get ; set ; }
31
36
37
+ [ JsonProperty ( Order = 1 ) ]
32
38
public int BackendPort { get ; set ; }
33
39
40
+ [ JsonProperty ( Order = 1 ) ]
34
41
public int ? IdleTimeoutInMinutes { get ; set ; }
35
42
43
+ [ JsonProperty ( Order = 1 ) ]
36
44
public string LoadDistribution { get ; set ; }
37
45
46
+ [ JsonProperty ( Order = 1 ) ]
38
47
public bool EnableFloatingIP { get ; set ; }
39
48
49
+ [ JsonProperty ( Order = 1 ) ]
40
50
public string ProvisioningState { get ; set ; }
41
51
42
52
[ JsonIgnore ]
Original file line number Diff line number Diff line change @@ -20,18 +20,25 @@ namespace Microsoft.Azure.Commands.Network.Models
20
20
21
21
public class PSNetworkInterfaceIpConfiguration : PSChildResource
22
22
{
23
+ [ JsonProperty ( Order = 1 ) ]
23
24
public string PrivateIpAddress { get ; set ; }
24
25
26
+ [ JsonProperty ( Order = 1 ) ]
25
27
public string PrivateIpAllocationMethod { get ; set ; }
26
28
29
+ [ JsonProperty ( Order = 1 ) ]
27
30
public PSResourceId Subnet { get ; set ; }
28
31
32
+ [ JsonProperty ( Order = 1 ) ]
29
33
public PSResourceId PublicIpAddress { get ; set ; }
30
34
35
+ [ JsonProperty ( Order = 1 ) ]
31
36
public List < PSResourceId > LoadBalancerBackendAddressPools { get ; set ; }
32
37
38
+ [ JsonProperty ( Order = 1 ) ]
33
39
public List < PSResourceId > LoadBalancerInboundNatRules { get ; set ; }
34
40
41
+ [ JsonProperty ( Order = 1 ) ]
35
42
public string ProvisioningState { get ; set ; }
36
43
37
44
[ JsonIgnore ]
Original file line number Diff line number Diff line change @@ -21,18 +21,25 @@ namespace Microsoft.Azure.Commands.Network.Models
21
21
22
22
public class PSProbe : PSChildResource
23
23
{
24
+ [ JsonProperty ( Order = 1 ) ]
24
25
public List < PSResourceId > LoadBalancingRules { get ; set ; }
25
26
27
+ [ JsonProperty ( Order = 1 ) ]
26
28
public string Protocol { get ; set ; }
27
29
30
+ [ JsonProperty ( Order = 1 ) ]
28
31
public int Port { get ; set ; }
29
32
33
+ [ JsonProperty ( Order = 1 ) ]
30
34
public int IntervalInSeconds { get ; set ; }
31
35
36
+ [ JsonProperty ( Order = 1 ) ]
32
37
public int NumberOfProbes { get ; set ; }
33
38
39
+ [ JsonProperty ( Order = 1 ) ]
34
40
public string RequestPath { get ; set ; }
35
41
42
+ [ JsonProperty ( Order = 1 ) ]
36
43
public string ProvisioningState { get ; set ; }
37
44
38
45
[ JsonIgnore ]
Original file line number Diff line number Diff line change 15
15
16
16
namespace Microsoft . Azure . Commands . Network . Models
17
17
{
18
+ using Newtonsoft . Json ;
19
+
18
20
public class PSRoute : PSChildResource
19
21
{
22
+ [ JsonProperty ( Order = 1 ) ]
20
23
public string AddressPrefix { get ; set ; }
21
-
24
+
25
+ [ JsonProperty ( Order = 1 ) ]
22
26
public string NextHopType { get ; set ; }
23
27
28
+ [ JsonProperty ( Order = 1 ) ]
24
29
public string NextHopIpAddress { get ; set ; }
25
30
31
+ [ JsonProperty ( Order = 1 ) ]
26
32
public string ProvisioningState { get ; set ; }
27
33
}
28
34
}
Original file line number Diff line number Diff line change 15
15
16
16
namespace Microsoft . Azure . Commands . Network . Models
17
17
{
18
+ using Newtonsoft . Json ;
19
+
18
20
public class PSSecurityRule : PSChildResource
19
21
{
22
+ [ JsonProperty ( Order = 1 ) ]
20
23
public string Description { get ; set ; }
21
24
25
+ [ JsonProperty ( Order = 1 ) ]
22
26
public string Protocol { get ; set ; }
23
27
28
+ [ JsonProperty ( Order = 1 ) ]
24
29
public string SourcePortRange { get ; set ; }
25
30
31
+ [ JsonProperty ( Order = 1 ) ]
26
32
public string DestinationPortRange { get ; set ; }
27
33
34
+ [ JsonProperty ( Order = 1 ) ]
28
35
public string SourceAddressPrefix { get ; set ; }
29
36
37
+ [ JsonProperty ( Order = 1 ) ]
30
38
public string DestinationAddressPrefix { get ; set ; }
31
39
40
+ [ JsonProperty ( Order = 1 ) ]
32
41
public string Access { get ; set ; }
33
42
43
+ [ JsonProperty ( Order = 1 ) ]
34
44
public int Priority { get ; set ; }
35
45
46
+ [ JsonProperty ( Order = 1 ) ]
36
47
public string Direction { get ; set ; }
37
48
49
+ [ JsonProperty ( Order = 1 ) ]
38
50
public string ProvisioningState { get ; set ; }
39
51
}
40
52
}
Original file line number Diff line number Diff line change @@ -20,14 +20,19 @@ namespace Microsoft.Azure.Commands.Network.Models
20
20
21
21
public class PSSubnet : PSChildResource
22
22
{
23
+ [ JsonProperty ( Order = 1 ) ]
23
24
public string AddressPrefix { get ; set ; }
24
25
26
+ [ JsonProperty ( Order = 1 ) ]
25
27
public List < PSResourceId > IpConfigurations { get ; set ; }
26
28
29
+ [ JsonProperty ( Order = 1 ) ]
27
30
public PSResourceId NetworkSecurityGroup { get ; set ; }
28
31
32
+ [ JsonProperty ( Order = 1 ) ]
29
33
public PSResourceId RouteTable { get ; set ; }
30
34
35
+ [ JsonProperty ( Order = 1 ) ]
31
36
public string ProvisioningState { get ; set ; }
32
37
33
38
[ JsonIgnore ]
You can’t perform that action at this time.
0 commit comments