/// <summary>
 /// Initializes a new instance of the RolloutOperationInfo class.
 /// </summary>
 /// <param name="retryAttempt">The ordinal count of the number of retry
 /// attempts on a rollout. 0 if no retries of the rollout have been
 /// performed. If the rollout is updated with a PUT, this count is
 /// reset to 0.</param>
 /// <param name="skipSucceededOnRetry">True, if all steps that
 /// succeeded on the previous run/attempt were chosen to be skipped in
 /// this retry attempt. False, otherwise.</param>
 /// <param name="startTime">The start time of the rollout in
 /// UTC.</param>
 /// <param name="endTime">The start time of the rollout in UTC. This
 /// property will not be set if the rollout has not completed
 /// yet.</param>
 /// <param name="error">The detailed error information for any
 /// failure.</param>
 public RolloutOperationInfo(int?retryAttempt = default(int?), bool?skipSucceededOnRetry = default(bool?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), CloudErrorBody error = default(CloudErrorBody))
 {
     RetryAttempt         = retryAttempt;
     SkipSucceededOnRetry = skipSucceededOnRetry;
     StartTime            = startTime;
     EndTime = endTime;
     Error   = error;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the StepOperationInfo class.
 /// </summary>
 /// <param name="deploymentName">The name of the ARM deployment
 /// initiated as part of the step.</param>
 /// <param name="correlationId">Unique identifier to track the request
 /// for ARM-based resources.</param>
 /// <param name="startTime">Start time of the action in UTC.</param>
 /// <param name="endTime">End time of the action in UTC.</param>
 /// <param name="lastUpdatedTime">Last time in UTC this operation was
 /// updated.</param>
 /// <param name="error">The errors, if any, for the action.</param>
 public StepOperationInfo(string deploymentName = default(string), string correlationId = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), System.DateTime?lastUpdatedTime = default(System.DateTime?), CloudErrorBody error = default(CloudErrorBody))
 {
     DeploymentName  = deploymentName;
     CorrelationId   = correlationId;
     StartTime       = startTime;
     EndTime         = endTime;
     LastUpdatedTime = lastUpdatedTime;
     Error           = error;
     CustomInit();
 }