Пример #1
0
 /// <summary>
 /// Initializes a new instance of the RollingUpgradeStatusInfo class.
 /// </summary>
 /// <param name="location">Resource location</param>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="policy">The rolling upgrade policies applied for this
 /// upgrade.</param>
 /// <param name="runningStatus">Information about the current running
 /// state of the overall upgrade.</param>
 /// <param name="progress">Information about the number of virtual
 /// machine instances in each upgrade state.</param>
 /// <param name="error">Error details for this upgrade, if there are
 /// any.</param>
 public RollingUpgradeStatusInfo(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), RollingUpgradePolicy policy = default(RollingUpgradePolicy), RollingUpgradeRunningStatus runningStatus = default(RollingUpgradeRunningStatus), RollingUpgradeProgressInfo progress = default(RollingUpgradeProgressInfo), ApiError error = default(ApiError))
     : base(location, id, name, type, tags)
 {
     Policy        = policy;
     RunningStatus = runningStatus;
     Progress      = progress;
     Error         = error;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// UpgradeOperationHistoricalStatusInfoProperties class.
 /// </summary>
 /// <param name="runningStatus">Information about the overall status of
 /// the upgrade operation.</param>
 /// <param name="progress">Counts of the VM's in each state.</param>
 /// <param name="error">Error Details for this upgrade if there are
 /// any.</param>
 /// <param name="startedBy">Invoker of the Upgrade Operation. Possible
 /// values include: 'Unknown', 'User', 'Platform'</param>
 /// <param name="targetImageReference">Image Reference details</param>
 /// <param name="rollbackInfo">Information about OS rollback if
 /// performed</param>
 public UpgradeOperationHistoricalStatusInfoProperties(UpgradeOperationHistoryStatus runningStatus = default(UpgradeOperationHistoryStatus), RollingUpgradeProgressInfo progress = default(RollingUpgradeProgressInfo), ApiError error = default(ApiError), UpgradeOperationInvoker?startedBy = default(UpgradeOperationInvoker?), ImageReference targetImageReference = default(ImageReference), RollbackStatusInfo rollbackInfo = default(RollbackStatusInfo))
 {
     RunningStatus        = runningStatus;
     Progress             = progress;
     Error                = error;
     StartedBy            = startedBy;
     TargetImageReference = targetImageReference;
     RollbackInfo         = rollbackInfo;
     CustomInit();
 }