Skip to content

Commit 76c8925

Browse files
[RestorePoints] InstanceView Fix SDK changes (#28188)
* sdk changes for instanview fix 1.1 * added record tests 2.1 Co-authored-by: Theodore Chang <thchan@microsoft.com>
1 parent 4118b10 commit 76c8925

File tree

4 files changed

+973
-1152
lines changed

4 files changed

+973
-1152
lines changed

sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePointInstanceView.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePointReplicationStatus.cs

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/RestorePointTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ void VerifyRestorePointDetails(RestorePoint restorePoint, string restorePointNam
305305
{
306306
RestorePointInstanceView restorePointInstanceView = restorePoint.InstanceView;
307307
Assert.NotNull(restorePointInstanceView);
308+
Assert.Equal(storageProfile.DataDisks.Count + 1, restorePointInstanceView.DiskRestorePoints.Count);
309+
Assert.NotNull(restorePointInstanceView.DiskRestorePoints[0].ReplicationStatus.CompletionPercent);
308310
}
309311
}
310312
else

0 commit comments

Comments
 (0)