-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AssignmentOperationData.cs
61 lines (55 loc) · 3.15 KB
/
AssignmentOperationData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Blueprint.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Blueprint
{
/// <summary>
/// A class representing the AssignmentOperation data model.
/// Represents underlying deployment detail for each update to the blueprint assignment.
/// </summary>
public partial class AssignmentOperationData : ResourceData
{
/// <summary> Initializes a new instance of AssignmentOperationData. </summary>
public AssignmentOperationData()
{
Deployments = new ChangeTrackingList<AssignmentDeploymentJob>();
}
/// <summary> Initializes a new instance of AssignmentOperationData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="blueprintVersion"> The published version of the blueprint definition used for the blueprint assignment operation. </param>
/// <param name="assignmentState"> State of this blueprint assignment operation. </param>
/// <param name="timeCreated"> Create time of this blueprint assignment operation. </param>
/// <param name="timeStarted"> Start time of the underlying deployment. </param>
/// <param name="timeFinished"> Finish time of the overall underlying deployments. </param>
/// <param name="deployments"> List of jobs in this blueprint assignment operation. </param>
internal AssignmentOperationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string blueprintVersion, string assignmentState, string timeCreated, string timeStarted, string timeFinished, IList<AssignmentDeploymentJob> deployments) : base(id, name, resourceType, systemData)
{
BlueprintVersion = blueprintVersion;
AssignmentState = assignmentState;
TimeCreated = timeCreated;
TimeStarted = timeStarted;
TimeFinished = timeFinished;
Deployments = deployments;
}
/// <summary> The published version of the blueprint definition used for the blueprint assignment operation. </summary>
public string BlueprintVersion { get; set; }
/// <summary> State of this blueprint assignment operation. </summary>
public string AssignmentState { get; set; }
/// <summary> Create time of this blueprint assignment operation. </summary>
public string TimeCreated { get; set; }
/// <summary> Start time of the underlying deployment. </summary>
public string TimeStarted { get; set; }
/// <summary> Finish time of the overall underlying deployments. </summary>
public string TimeFinished { get; set; }
/// <summary> List of jobs in this blueprint assignment operation. </summary>
public IList<AssignmentDeploymentJob> Deployments { get; }
}
}