| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.ResourceManager.Compute.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> Information about rollback on failed VM instances after a OS Upgrade operation. </summary> |
| | | 11 | | public partial class RollbackStatusInfo |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of RollbackStatusInfo. </summary> |
| | 0 | 14 | | internal RollbackStatusInfo() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of RollbackStatusInfo. </summary> |
| | | 19 | | /// <param name="successfullyRolledbackInstanceCount"> The number of instances which have been successfully roll |
| | | 20 | | /// <param name="failedRolledbackInstanceCount"> The number of instances which failed to rollback. </param> |
| | | 21 | | /// <param name="rollbackError"> Error details if OS rollback failed. </param> |
| | 0 | 22 | | internal RollbackStatusInfo(int? successfullyRolledbackInstanceCount, int? failedRolledbackInstanceCount, ApiErr |
| | | 23 | | { |
| | 0 | 24 | | SuccessfullyRolledbackInstanceCount = successfullyRolledbackInstanceCount; |
| | 0 | 25 | | FailedRolledbackInstanceCount = failedRolledbackInstanceCount; |
| | 0 | 26 | | RollbackError = rollbackError; |
| | 0 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> The number of instances which have been successfully rolled back. </summary> |
| | 0 | 30 | | public int? SuccessfullyRolledbackInstanceCount { get; } |
| | | 31 | | /// <summary> The number of instances which failed to rollback. </summary> |
| | 0 | 32 | | public int? FailedRolledbackInstanceCount { get; } |
| | | 33 | | /// <summary> Error details if OS rollback failed. </summary> |
| | 0 | 34 | | public ApiError RollbackError { get; } |
| | | 35 | | } |
| | | 36 | | } |