/// <summary> /// Initializes a new instance of the SoftwareUpdateConfigurationRun /// class. /// </summary> /// <param name="name">Name of the software update configuration /// run.</param> /// <param name="id">Resource Id of the software update configuration /// run</param> /// <param name="softwareUpdateConfiguration">software update /// configuration triggered this run</param> /// <param name="status">Status of the software update configuration /// run.</param> /// <param name="configuredDuration">Configured duration for the /// software update configuration run.</param> /// <param name="osType">Operating system target of the software update /// configuration triggered this run</param> /// <param name="startTime">Start time of the software update /// configuration run.</param> /// <param name="endTime">End time of the software update configuration /// run.</param> /// <param name="computerCount">Number of computers in the software /// update configuration run.</param> /// <param name="failedCount">Number of computers with failed /// status.</param> /// <param name="creationTime">Creation time of the resource, which /// only appears in the response.</param> /// <param name="createdBy">CreatedBy property, which only appears in /// the response.</param> /// <param name="lastModifiedTime">Last time resource was modified, /// which only appears in the response.</param> /// <param name="lastModifiedBy">LastModifiedBy property, which only /// appears in the response.</param> /// <param name="tasks">Software update configuration tasks triggered /// in this run</param> public SoftwareUpdateConfigurationRun(string name = default(string), string id = default(string), UpdateConfigurationNavigation softwareUpdateConfiguration = default(UpdateConfigurationNavigation), string status = default(string), string configuredDuration = default(string), string osType = default(string), System.DateTimeOffset startTime = default(System.DateTimeOffset), System.DateTimeOffset?endTime = default(System.DateTimeOffset?), int?computerCount = default(int?), int?failedCount = default(int?), System.DateTimeOffset creationTime = default(System.DateTimeOffset), string createdBy = default(string), System.DateTimeOffset lastModifiedTime = default(System.DateTimeOffset), string lastModifiedBy = default(string), SoftareUpdateConfigurationRunTasks tasks = default(SoftareUpdateConfigurationRunTasks)) { Name = name; Id = id; SoftwareUpdateConfiguration = softwareUpdateConfiguration; Status = status; ConfiguredDuration = configuredDuration; OsType = osType; StartTime = startTime; EndTime = endTime; ComputerCount = computerCount; FailedCount = failedCount; CreationTime = creationTime; CreatedBy = createdBy; LastModifiedTime = lastModifiedTime; LastModifiedBy = lastModifiedBy; Tasks = tasks; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// SoftwareUpdateConfigurationMachineRun class. /// </summary> /// <param name="name">Name of the software update configuration /// machine run</param> /// <param name="id">Resource Id of the software update configuration /// machine run</param> /// <param name="targetComputer">name of the updated computer</param> /// <param name="targetComputerType">type of the updated /// computer.</param> /// <param name="softwareUpdateConfiguration">software update /// configuration triggered this run</param> /// <param name="status">Status of the software update configuration /// machine run.</param> /// <param name="osType">Operating system target of the software update /// configuration triggered this run</param> /// <param name="correlationId">correlation id of the software update /// configuration machine run</param> /// <param name="sourceComputerId">source computer id of the software /// update configuration machine run</param> /// <param name="startTime">Start time of the software update /// configuration machine run.</param> /// <param name="endTime">End time of the software update configuration /// machine run.</param> /// <param name="configuredDuration">configured duration for the /// software update configuration run.</param> /// <param name="job">Job associated with the software update /// configuration machine run</param> /// <param name="creationTime">Creation time of theresource, which only /// appears in the response.</param> /// <param name="createdBy">createdBy property, which only appears in /// the response.</param> /// <param name="lastModifiedTime">Last time resource was modified, /// which only appears in the response.</param> /// <param name="lastModifiedBy">lastModifiedBy property, which only /// appears in the response.</param> /// <param name="error">detailes of provisioning error</param> public SoftwareUpdateConfigurationMachineRun(string name = default(string), string id = default(string), string targetComputer = default(string), string targetComputerType = default(string), UpdateConfigurationNavigation softwareUpdateConfiguration = default(UpdateConfigurationNavigation), string status = default(string), string osType = default(string), System.Guid?correlationId = default(System.Guid?), System.Guid?sourceComputerId = default(System.Guid?), System.DateTimeOffset startTime = default(System.DateTimeOffset), System.DateTimeOffset?endTime = default(System.DateTimeOffset?), string configuredDuration = default(string), JobNavigation job = default(JobNavigation), System.DateTimeOffset creationTime = default(System.DateTimeOffset), string createdBy = default(string), System.DateTimeOffset lastModifiedTime = default(System.DateTimeOffset), string lastModifiedBy = default(string), ErrorResponse error = default(ErrorResponse)) { Name = name; Id = id; TargetComputer = targetComputer; TargetComputerType = targetComputerType; SoftwareUpdateConfiguration = softwareUpdateConfiguration; Status = status; OsType = osType; CorrelationId = correlationId; SourceComputerId = sourceComputerId; StartTime = startTime; EndTime = endTime; ConfiguredDuration = configuredDuration; Job = job; CreationTime = creationTime; CreatedBy = createdBy; LastModifiedTime = lastModifiedTime; LastModifiedBy = lastModifiedBy; Error = error; CustomInit(); }