Skip to content

Commit a5cf44d

Browse files
Processing PR comments
1 parent bfc8381 commit a5cf44d

File tree

6 files changed

+8
-15
lines changed

6 files changed

+8
-15
lines changed

src/ResourceManager/Network/Commands.Network/Models/PSVirtualNetworkUsage.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
{
33
public partial class PSVirtualNetworkUsage
44
{
5-
public string Id;
6-
public long CurrentValue;
7-
public long Limit;
8-
public string Unit;
9-
public PSUsageName Name;
5+
public string Id { get; set; }
6+
public long CurrentValue { get; set; }
7+
public long Limit { get; set; }
8+
public string Unit { get; set; }
9+
public PSUsageName Name { get; set; }
1010
}
1111
}

src/ResourceManager/Network/Commands.Network/VirtualNetwork/VirtualNetworkListUsageMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public partial class GetAzureRmVirtualNetworkUsageList : NetworkBaseCmdlet
4141
HelpMessage = "The resource group name.")]
4242
[ValidateNotNullOrEmpty]
4343
public string ResourceGroupName { get; set; }
44+
4445
[Parameter(
4546
Mandatory = true,
4647
ValueFromPipelineByPropertyName = true,
@@ -59,7 +60,7 @@ public override void Execute()
5960
var vVirtualNetworkModel = Mapper.Map<CNM.PSVirtualNetworkUsage>(vVirtualNetwork);
6061
vnetUsageList.Add(vVirtualNetworkModel);
6162
}
62-
WriteObject(vnetUsageList);
63+
WriteObject(vnetUsageList, true);
6364
}
6465
}
6566
}

src/ResourceManager/Network/Commands.Network/help/Add-AzureRmRouteFilterRuleConfig.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ The Add-AzureRmRouteFilterRuleConfig cmdlet adds a route filter rule to an Azure
3535

3636

3737

38-
39-
4038
```
4139
PS C:\>$RouteFilter = Get-AzureRmRouteFilter -ResourceGroupName "ResourceGroup11" -Name "routefilter01"
4240
PS C:\> Add-AzureRmRouteFilterRuleConfig -Name "rule13" -Access Allow -RouteFilterRuleType Community -RouteFilter $RouteFilter

src/ResourceManager/Network/Commands.Network/help/Get-AzureRmApplicationGatewayBackendHealth.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ The Get-AzureRmApplicationGatewayBackendHealth cmdlet gets application gateway b
3737

3838

3939

40-
41-
4240
```
4341
PS C:\>$BackendHealth = Get-AzureRmApplicationGatewayBackendHealth -Name ApplicationGateway01 -ResourceGroupName ResourceGroup01
4442
```
@@ -60,8 +58,6 @@ This command gets the backend health of application gateway named ApplicationGat
6058

6159

6260

63-
64-
6561
```
6662
PS C:\>$BackendHealth = Get-AzureRmApplicationGatewayBackendHealth -Name ApplicationGateway01 -ResourceGroupName ResourceGroup01 -ExpandResource "backendhealth/applicationgatewayresource"
6763
```

src/ResourceManager/Network/Commands.Network/help/New-AzureRmVirtualNetworkGateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ $ngwipconfig = New-AzureRMVirtualNetworkGatewayIpConfig -Name ngwipconfig -Subne
4646
4747
New-AzureRmVirtualNetworkGateway -Name myNGW -ResourceGroupName vnet-gateway -Location "UK West" -IpConfigurations $ngwIpConfig -GatewayType "Vpn" -VpnType "RouteBased" -GatewaySku "Basic"
4848
```
49-
5049
The above will create a resource group, request a Public IP Address, create a Virtual Network and subnet and create a Virtual Network Gateway in Azure.
5150

5251
The gateway will be called "vngw" within the resource group "vnet-gateway" in the location "UK West" with the previously created IP configurations saved in the variable "ngwIPConfig," the gateway type of "VPN," the vpn type "RouteBased," and the sku "Basic."
5352

53+
5454
## PARAMETERS
5555

5656
### -Asn

src/ResourceManager/Network/Commands.Network/help/Test-AzureRmNetworkWatcherConnectivity.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ The Test-AzureRmNetworkWatcherConnectivity cmdlet returns connectivity informati
3838

3939

4040

41-
42-
4341
```
4442
Test-AzureRmNetworkWatcherConnectivity -NetworkWatcherName NetworkWatcher -ResourceGroupName NetworkWatcherRG -SourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ContosoRG/providers/Microsoft.Compute/virtualMachines/MultiTierApp0" -DestinationAddress "bing.com" -DestinationPort 80
4543

0 commit comments

Comments
 (0)