-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SoftwareUpdateConfigurationRun.cs
93 lines (86 loc) · 5.42 KB
/
SoftwareUpdateConfigurationRun.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.Automation.Models
{
/// <summary> Software update configuration Run properties. </summary>
public partial class SoftwareUpdateConfigurationRun
{
/// <summary> Initializes a new instance of SoftwareUpdateConfigurationRun. </summary>
internal SoftwareUpdateConfigurationRun()
{
}
/// <summary> Initializes a new instance of SoftwareUpdateConfigurationRun. </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="startOn"> Start time of the software update configuration run. </param>
/// <param name="endOn"> 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="createdOn"> 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="lastModifiedOn"> 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>
internal SoftwareUpdateConfigurationRun(string name, ResourceIdentifier id, SoftwareUpdateConfigurationNavigation softwareUpdateConfiguration, string status, TimeSpan? configuredDuration, string osType, DateTimeOffset? startOn, DateTimeOffset? endOn, int? computerCount, int? failedCount, DateTimeOffset? createdOn, string createdBy, DateTimeOffset? lastModifiedOn, string lastModifiedBy, SoftwareUpdateConfigurationRunTasks tasks)
{
Name = name;
Id = id;
SoftwareUpdateConfiguration = softwareUpdateConfiguration;
Status = status;
ConfiguredDuration = configuredDuration;
OSType = osType;
StartOn = startOn;
EndOn = endOn;
ComputerCount = computerCount;
FailedCount = failedCount;
CreatedOn = createdOn;
CreatedBy = createdBy;
LastModifiedOn = lastModifiedOn;
LastModifiedBy = lastModifiedBy;
Tasks = tasks;
}
/// <summary> Name of the software update configuration run. </summary>
public string Name { get; }
/// <summary> Resource Id of the software update configuration run. </summary>
public ResourceIdentifier Id { get; }
/// <summary> software update configuration triggered this run. </summary>
internal SoftwareUpdateConfigurationNavigation SoftwareUpdateConfiguration { get; }
/// <summary> Name of the software update configuration triggered the software update configuration run. </summary>
public string SoftwareUpdateName
{
get => SoftwareUpdateConfiguration?.Name;
}
/// <summary> Status of the software update configuration run. </summary>
public string Status { get; }
/// <summary> Configured duration for the software update configuration run. </summary>
public TimeSpan? ConfiguredDuration { get; }
/// <summary> Operating system target of the software update configuration triggered this run. </summary>
public string OSType { get; }
/// <summary> Start time of the software update configuration run. </summary>
public DateTimeOffset? StartOn { get; }
/// <summary> End time of the software update configuration run. </summary>
public DateTimeOffset? EndOn { get; }
/// <summary> Number of computers in the software update configuration run. </summary>
public int? ComputerCount { get; }
/// <summary> Number of computers with failed status. </summary>
public int? FailedCount { get; }
/// <summary> Creation time of the resource, which only appears in the response. </summary>
public DateTimeOffset? CreatedOn { get; }
/// <summary> CreatedBy property, which only appears in the response. </summary>
public string CreatedBy { get; }
/// <summary> Last time resource was modified, which only appears in the response. </summary>
public DateTimeOffset? LastModifiedOn { get; }
/// <summary> LastModifiedBy property, which only appears in the response. </summary>
public string LastModifiedBy { get; }
/// <summary> Software update configuration tasks triggered in this run. </summary>
public SoftwareUpdateConfigurationRunTasks Tasks { get; }
}
}