/// <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 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(); }
/// <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(); }