/// <summary> /// Initializes a new instance of the LastPatchInstallationSummary /// class. /// </summary> /// <param name="status">The overall success or failure status of the /// operation. It remains "InProgress" until the operation completes. /// At that point it will become "Failed", "Succeeded", or /// "CompletedWithWarnings.". Possible values include: 'InProgress', /// 'Failed', 'Succeeded', 'CompletedWithWarnings'</param> /// <param name="installationActivityId">The activity ID of the /// operation that produced this result. It is used to correlate across /// CRP and extension logs.</param> /// <param name="maintenanceWindowExceeded">Describes whether the /// operation ran out of time before it completed all its intended /// actions</param> /// <param name="rebootStatus">The reboot status of the machine after /// the patch operation. It will be in "NotNeeded" status if reboot is /// not needed after the patch operation. "Required" will be the status /// once the patch is applied and machine is required to reboot. /// "Started" will be the reboot status when the machine has started to /// reboot. "Failed" will be the status if the machine is failed to /// reboot. "Completed" will be the status once the machine is rebooted /// successfully. Possible values include: 'NotNeeded', 'Required', /// 'Started', 'Failed', 'Completed'</param> /// <param name="notSelectedPatchCount">The number of all available /// patches but not going to be installed because it didn't match a /// classification or inclusion list entry.</param> /// <param name="excludedPatchCount">The number of all available /// patches but excluded explicitly by a customer-specified exclusion /// list match.</param> /// <param name="pendingPatchCount">The number of all available patches /// expected to be installed over the course of the patch installation /// operation.</param> /// <param name="installedPatchCount">The count of patches that /// successfully installed.</param> /// <param name="failedPatchCount">The count of patches that failed /// installation.</param> /// <param name="startTime">The UTC timestamp when the operation /// began.</param> /// <param name="lastModifiedTime">The UTC timestamp when the operation /// began.</param> /// <param name="startedBy">The person or system account that started /// the operation</param> /// <param name="error">The errors that were encountered during /// execution of the operation. The details array contains the list of /// them.</param> public LastPatchInstallationSummary(PatchOperationStatus status = default(PatchOperationStatus), string installationActivityId = default(string), bool?maintenanceWindowExceeded = default(bool?), RebootStatus rebootStatus = default(RebootStatus), int?notSelectedPatchCount = default(int?), int?excludedPatchCount = default(int?), int?pendingPatchCount = default(int?), int?installedPatchCount = default(int?), int?failedPatchCount = default(int?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?lastModifiedTime = default(System.DateTime?), string startedBy = default(string), ApiError error = default(ApiError)) { Status = status; InstallationActivityId = installationActivityId; MaintenanceWindowExceeded = maintenanceWindowExceeded; RebootStatus = rebootStatus; NotSelectedPatchCount = notSelectedPatchCount; ExcludedPatchCount = excludedPatchCount; PendingPatchCount = pendingPatchCount; InstalledPatchCount = installedPatchCount; FailedPatchCount = failedPatchCount; StartTime = startTime; LastModifiedTime = lastModifiedTime; StartedBy = startedBy; Error = error; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualMachineAssessPatchesResultInner class. /// </summary> /// <param name="status">The overall success or failure status of the /// operation. It remains "InProgress" until the operation completes. /// At that point it will become "Failed", "Succeeded", or /// "CompletedWithWarnings.". Possible values include: 'InProgress', /// 'Failed', 'Succeeded', 'CompletedWithWarnings'</param> /// <param name="assessmentActivityId">The activity ID of the operation /// that produced this result. It is used to correlate across CRP and /// extension logs.</param> /// <param name="rebootPending">The overall reboot status of the VM. It /// will be true when partially installed patches require a reboot to /// complete installation but the reboot has not yet occurred.</param> /// <param name="criticalAndSecurityPatchCount">The number of critical /// or security patches that have been detected as available and not /// yet installed.</param> /// <param name="otherPatchCount">The number of all available patches /// excluding critical and security.</param> /// <param name="startDateTime">The UTC timestamp when the operation /// began.</param> /// <param name="patches">The list of patches that have been detected /// as available for installation.</param> /// <param name="error">The errors that were encountered during /// execution of the operation. The details array contains the list of /// them.</param> public VirtualMachineAssessPatchesResultInner(PatchOperationStatus status = default(PatchOperationStatus), string assessmentActivityId = default(string), bool?rebootPending = default(bool?), int?criticalAndSecurityPatchCount = default(int?), int?otherPatchCount = default(int?), System.DateTime?startDateTime = default(System.DateTime?), IList <VirtualMachineSoftwarePatchProperties> patches = default(IList <VirtualMachineSoftwarePatchProperties>), ApiError error = default(ApiError)) { Status = status; AssessmentActivityId = assessmentActivityId; RebootPending = rebootPending; CriticalAndSecurityPatchCount = criticalAndSecurityPatchCount; OtherPatchCount = otherPatchCount; StartDateTime = startDateTime; Patches = patches; Error = error; CustomInit(); }
/// <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 OperationStatusResponseInner /// 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 OperationStatusResponseInner(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(); }
/// <summary> /// Initializes a new instance of the LogAnalyticsOperationResultInner /// 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 LogAnalyticsOperationResultInner(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(); }
/// <summary> /// Initializes a new instance of the RollingUpgradeStatusInfoInner /// class. /// </summary> /// <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 RollingUpgradeStatusInfoInner(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?), ImageReferenceInner targetImageReference = default(ImageReferenceInner), RollbackStatusInfo rollbackInfo = default(RollbackStatusInfo)) { RunningStatus = runningStatus; Progress = progress; Error = error; StartedBy = startedBy; TargetImageReference = targetImageReference; RollbackInfo = rollbackInfo; CustomInit(); }
/// <summary> /// Initializes a new instance of the RunCommandResultInner 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 RunCommandResultInner(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(); }
/// <summary> /// Initializes a new instance of the AvailablePatchSummary class. /// </summary> /// <param name="status">The overall success or failure status of the /// operation. It remains "InProgress" until the operation completes. /// At that point it will become "Failed", "Succeeded", or /// "CompletedWithWarnings.". Possible values include: 'InProgress', /// 'Failed', 'Succeeded', 'CompletedWithWarnings'</param> /// <param name="assessmentActivityId">The activity ID of the operation /// that produced this result. It is used to correlate across CRP and /// extension logs.</param> /// <param name="rebootPending">The overall reboot status of the VM. It /// will be true when partially installed patches require a reboot to /// complete installation but the reboot has not yet occurred.</param> /// <param name="criticalAndSecurityPatchCount">The number of critical /// or security patches that have been detected as available and not /// yet installed.</param> /// <param name="otherPatchCount">The number of all available patches /// excluding critical and security.</param> /// <param name="startTime">The UTC timestamp when the operation /// began.</param> /// <param name="lastModifiedTime">The UTC timestamp when the operation /// began.</param> /// <param name="error">The errors that were encountered during /// execution of the operation. The details array contains the list of /// them.</param> public AvailablePatchSummary(PatchOperationStatus status = default(PatchOperationStatus), string assessmentActivityId = default(string), bool?rebootPending = default(bool?), int?criticalAndSecurityPatchCount = default(int?), int?otherPatchCount = default(int?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?lastModifiedTime = default(System.DateTime?), ApiError error = default(ApiError)) { Status = status; AssessmentActivityId = assessmentActivityId; RebootPending = rebootPending; CriticalAndSecurityPatchCount = criticalAndSecurityPatchCount; OtherPatchCount = otherPatchCount; StartTime = startTime; LastModifiedTime = lastModifiedTime; Error = error; CustomInit(); }