Skip to content

Commit 92042fd

Browse files
committed
allow edits to dhcptoptions and vnet format fix
1 parent 456d100 commit 92042fd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
</ListItem>
4545
<ListItem>
4646
<Label>DhcpOptions</Label>
47-
<PropertyName>DhcpOptionsTest</PropertyName>
47+
<PropertyName>DhcpOptionsText</PropertyName>
4848
</ListItem>
4949
<ListItem>
5050
<Label>NetworkInterfaces</Label>
51-
<PropertyName>NetworkInterfacesTest</PropertyName>
51+
<PropertyName>NetworkInterfacesText</PropertyName>
5252
</ListItem>
5353
<ListItem>
5454
<Label>Subnets</Label>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public PSVirtualNetwork GetVirtualNetwork(string resourceGroupName, string name)
6464
virtualNetwork.Tag =
6565
TagsConversionHelper.CreateTagHashtable(getNetworkInterfaceResponse.VirtualNetwork.Tags);
6666

67+
virtualNetwork.DhcpOptions = new PSDhcpOptions();
68+
6769
return virtualNetwork;
6870
}
6971

0 commit comments

Comments
 (0)