/
ManagedIntegrationRuntimeStatus.cs
52 lines (46 loc) · 3 KB
/
ManagedIntegrationRuntimeStatus.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.ResourceManager.DataFactory;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> Managed integration runtime status. </summary>
public partial class ManagedIntegrationRuntimeStatus : IntegrationRuntimeStatus
{
/// <summary> Initializes a new instance of <see cref="ManagedIntegrationRuntimeStatus"/>. </summary>
internal ManagedIntegrationRuntimeStatus()
{
Nodes = new ChangeTrackingList<ManagedIntegrationRuntimeNode>();
OtherErrors = new ChangeTrackingList<ManagedIntegrationRuntimeError>();
RuntimeType = IntegrationRuntimeType.Managed;
}
/// <summary> Initializes a new instance of <see cref="ManagedIntegrationRuntimeStatus"/>. </summary>
/// <param name="runtimeType"> Type of integration runtime. </param>
/// <param name="dataFactoryName"> The data factory name which the integration runtime belong to. </param>
/// <param name="state"> The state of integration runtime. </param>
/// <param name="additionalProperties"> Additional Properties. </param>
/// <param name="createdOn"> The time at which the integration runtime was created, in ISO8601 format. </param>
/// <param name="nodes"> The list of nodes for managed integration runtime. </param>
/// <param name="otherErrors"> The errors that occurred on this integration runtime. </param>
/// <param name="lastOperation"> The last operation result that occurred on this integration runtime. </param>
internal ManagedIntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary<string, BinaryData> additionalProperties, DateTimeOffset? createdOn, IReadOnlyList<ManagedIntegrationRuntimeNode> nodes, IReadOnlyList<ManagedIntegrationRuntimeError> otherErrors, ManagedIntegrationRuntimeOperationResult lastOperation) : base(runtimeType, dataFactoryName, state, additionalProperties)
{
CreatedOn = createdOn;
Nodes = nodes;
OtherErrors = otherErrors;
LastOperation = lastOperation;
RuntimeType = runtimeType;
}
/// <summary> The time at which the integration runtime was created, in ISO8601 format. </summary>
public DateTimeOffset? CreatedOn { get; }
/// <summary> The list of nodes for managed integration runtime. </summary>
public IReadOnlyList<ManagedIntegrationRuntimeNode> Nodes { get; }
/// <summary> The errors that occurred on this integration runtime. </summary>
public IReadOnlyList<ManagedIntegrationRuntimeError> OtherErrors { get; }
/// <summary> The last operation result that occurred on this integration runtime. </summary>
public ManagedIntegrationRuntimeOperationResult LastOperation { get; }
}
}