Skip to content

Commit 668b16d

Browse files
committed
Merge branch 'dev' of github.com:Azure/azure-powershell into AuthorizationUpdate
2 parents 4900521 + 69f4936 commit 668b16d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ private T CreateVMContext<T>(string serviceName, NSM.Role vmRole, NSM.RoleInstan
172172
OperationStatus = deployment == null ? string.Empty : deployment.StatusCode.ToString(),
173173
OperationDescription = CommandRuntime.ToString(),
174174
NetworkInterfaces = roleInstance == null ? null : Mapper.Map<PVM.NetworkInterfaceList>(roleInstance.NetworkInterfaces),
175+
VirtualNetworkName = deployment == null ? null : deployment.VirtualNetworkName,
175176
VM = new PVM.PersistentVM
176177
{
177178
AvailabilitySetName = vmRole == null ? string.Empty : vmRole.AvailabilitySetName,

src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public class PersistentVMRoleContext : ServiceOperationContext, IPersistentVM
4040
public string PublicIPAddress { get; set; }
4141
public string PublicIPName { get; set; }
4242
public NetworkInterfaceList NetworkInterfaces { get; set; }
43+
public string VirtualNetworkName { get; set; }
4344

4445
public PersistentVM GetInstance()
4546
{

0 commit comments

Comments
 (0)