Skip to content

Commit 68a2c33

Browse files
authored
Merge pull request Azure#11360 from AsrOneSdk/origin/vijami/V2AMonitoringChanges
[ASR] [V2A] Adding properties for VMware DR monitoring
2 parents 6db6b23 + 85b81e5 commit 68a2c33

File tree

4 files changed

+57
-2
lines changed

4 files changed

+57
-2
lines changed

src/RecoveryServices/RecoveryServices.SiteRecovery.Test/RecoveryServices.SiteRecovery.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.18.0-preview" />
1616
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices" Version="4.2.1-preview" />
1717
<PackageReference Include="Microsoft.Azure.Management.Storage" Version="14.3.0" />
18-
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices.SiteRecovery" Version="2.0.5-preview" />
18+
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices.SiteRecovery" Version="2.0.6-preview" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSFabricDetails.cs

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,14 @@ public ASRProcessServer(ProcessServer processServer)
117117
this.SystemLoadStatus = processServer.SystemLoadStatus;
118118
this.TotalMemoryInBytes = processServer.TotalMemoryInBytes;
119119
this.TotalSpaceInBytes = processServer.TotalSpaceInBytes;
120+
this.Health = processServer.Health;
121+
this.PSStatsRefreshTime = processServer.PsStatsRefreshTime;
122+
this.ThroughputUploadPendingDataInBytes = processServer.ThroughputUploadPendingDataInBytes;
123+
this.ThroughputInMBps = processServer.ThroughputInMBps;
124+
this.ThroughputInBytes = processServer.ThroughputInBytes;
125+
this.ThroughputStatus = processServer.ThroughputStatus;
126+
this.MarsCommunicationStatus = processServer.MarsCommunicationStatus;
127+
this.MarsRegistrationStatus = processServer.MarsRegistrationStatus;
120128
this.Updates =
121129
this.TranslateMobilityServiceUpdate(processServer.MobilityServiceUpdates);
122130
}
@@ -232,6 +240,46 @@ public ASRProcessServer(ProcessServer processServer)
232240
/// </summary>
233241
public string VersionStatus { get; set; }
234242

243+
/// <summary>
244+
/// Gets or sets the health of Process Server.
245+
/// </summary>
246+
public string Health { get; set; }
247+
248+
/// <summary>
249+
/// Gets or sets the process server stats refresh time.
250+
/// </summary>
251+
public DateTime? PSStatsRefreshTime { get; set; }
252+
253+
/// <summary>
254+
/// Gets or sets the uploading pending data in bytes.
255+
/// </summary>
256+
public long? ThroughputUploadPendingDataInBytes { get; set; }
257+
258+
/// <summary>
259+
/// Gets or sets the throughput in MBps.
260+
/// </summary>
261+
public long? ThroughputInMBps { get; set; }
262+
263+
/// <summary>
264+
/// Gets or sets the throughput in bytes.
265+
/// </summary>
266+
public long? ThroughputInBytes { get; set; }
267+
268+
/// <summary>
269+
/// Gets or sets the throughput status.
270+
/// </summary>
271+
public string ThroughputStatus { get; set; }
272+
273+
/// <summary>
274+
/// Gets or sets the MARS communication status.
275+
/// </summary>
276+
public string MarsCommunicationStatus { get; set; }
277+
278+
/// <summary>
279+
/// Gets or sets the MARS registration status.
280+
/// </summary>
281+
public string MarsRegistrationStatus { get; set; }
282+
235283
/// <summary>
236284
/// Translate Mobility updates into Powershell object.
237285
/// </summary>
@@ -827,6 +875,7 @@ public ASRInMageAzureV2SpecificRPIDetails(InMageAzureV2ReplicationDetails detail
827875
this.OSDiskId = details.OsDiskId;
828876
this.OSType = details.OsType;
829877
this.ProcessServerId = details.ProcessServerId;
878+
this.ProcessServerName = details.ProcessServerName;
830879
this.ProtectionStage = details.ProtectionStage;
831880
this.RecoveryAzureLogStorageAccountId = details.RecoveryAzureLogStorageAccountId;
832881
this.VHDName = details.VhdName;
@@ -926,6 +975,11 @@ public ASRInMageAzureV2SpecificRPIDetails(InMageAzureV2ReplicationDetails detail
926975
/// </summary>
927976
public string ProcessServerId { get; set; }
928977

978+
/// <summary>
979+
/// Process Server Name.
980+
/// </summary>
981+
public string ProcessServerName { get; set; }
982+
929983
/// <summary>
930984
/// Gets or sets Protected Disk Details of the Virtual machine.
931985
/// </summary>

src/RecoveryServices/RecoveryServices.SiteRecovery/RecoveryServices.SiteRecovery.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ItemGroup>
1515
<PackageReference Include="AutoMapper" Version="6.2.2" />
1616
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices" Version="4.2.1-preview" />
17-
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices.SiteRecovery" Version="2.0.5-preview" />
17+
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices.SiteRecovery" Version="2.0.6-preview" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/RecoveryServices/RecoveryServices/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020
## Upcoming Release
2121
* Azure Site Recovery support for doing reprotect and update vm properties for azure disk encrypted Virtual Machines.
22+
* Added Azure Site Recovery VmwareToAzure properties DR monitoring
2223

2324
## Version 2.7.0
2425
* Added Support for Restore-as-files for SQL Databases.

0 commit comments

Comments
 (0)