예제 #1
0
 /// <summary>
 /// Initializes a new instance of the OperationStatusResponse class.
 /// </summary>
 /// <param name="name">Operation ID</param>
 /// <param name="status">Operation status</param>
 /// <param name="startTime">Start time of the operation</param>
 /// <param name="endTime">End time of the operation</param>
 /// <param name="error">Api error</param>
 public OperationStatusResponse(string name = default(string), string status = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), ApiError error = default(ApiError))
 {
     Name      = name;
     Status    = status;
     StartTime = startTime;
     EndTime   = endTime;
     Error     = error;
     CustomInit();
 }
예제 #2
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();
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the RollbackStatusInfo class.
 /// </summary>
 /// <param name="successfullyRolledbackInstanceCount">The number of
 /// instances which have been successfully rolled back.</param>
 /// <param name="failedRolledbackInstanceCount">The number of instances
 /// which failed to rollback.</param>
 /// <param name="rollbackError">Error Details if OS rollback
 /// failed.</param>
 public RollbackStatusInfo(int?successfullyRolledbackInstanceCount = default(int?), int?failedRolledbackInstanceCount = default(int?), ApiError rollbackError = default(ApiError))
 {
     SuccessfullyRolledbackInstanceCount = successfullyRolledbackInstanceCount;
     FailedRolledbackInstanceCount       = failedRolledbackInstanceCount;
     RollbackError = rollbackError;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the RunCommandResult class.
 /// </summary>
 /// <param name="name">Operation ID</param>
 /// <param name="status">Operation status</param>
 /// <param name="startTime">Start time of the operation</param>
 /// <param name="endTime">End time of the operation</param>
 /// <param name="error">Api error</param>
 /// <param name="output">Operation output data (raw JSON)</param>
 public RunCommandResult(string name = default(string), string status = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), ApiError error = default(ApiError), object output = default(object))
     : base(name, status, startTime, endTime, error)
 {
     Output = output;
     CustomInit();
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the LogAnalyticsOperationResult
 /// class.
 /// </summary>
 /// <param name="name">Operation ID</param>
 /// <param name="status">Operation status</param>
 /// <param name="startTime">Start time of the operation</param>
 /// <param name="endTime">End time of the operation</param>
 /// <param name="error">Api error</param>
 /// <param name="properties">LogAnalyticsOutput</param>
 public LogAnalyticsOperationResult(string name = default(string), string status = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), ApiError error = default(ApiError), LogAnalyticsOutput properties = default(LogAnalyticsOutput))
     : base(name, status, startTime, endTime, error)
 {
     Properties = properties;
     CustomInit();
 }