-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
SelfHostedIntegrationRuntimeNode.cs
135 lines (129 loc) · 8.03 KB
/
SelfHostedIntegrationRuntimeNode.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> Properties of Self-hosted integration runtime node. </summary>
public partial class SelfHostedIntegrationRuntimeNode
{
/// <summary> Initializes a new instance of <see cref="SelfHostedIntegrationRuntimeNode"/>. </summary>
internal SelfHostedIntegrationRuntimeNode()
{
Capabilities = new ChangeTrackingDictionary<string, string>();
AdditionalProperties = new ChangeTrackingDictionary<string, BinaryData>();
}
/// <summary> Initializes a new instance of <see cref="SelfHostedIntegrationRuntimeNode"/>. </summary>
/// <param name="nodeName"> Name of the integration runtime node. </param>
/// <param name="machineName"> Machine name of the integration runtime node. </param>
/// <param name="hostServiceUri"> URI for the host machine of the integration runtime. </param>
/// <param name="status"> Status of the integration runtime node. </param>
/// <param name="capabilities"> The integration runtime capabilities dictionary. </param>
/// <param name="versionStatus"> Status of the integration runtime node version. </param>
/// <param name="version"> Version of the integration runtime node. </param>
/// <param name="registerOn"> The time at which the integration runtime node was registered in ISO8601 format. </param>
/// <param name="lastConnectOn"> The most recent time at which the integration runtime was connected in ISO8601 format. </param>
/// <param name="expireOn"> The time at which the integration runtime will expire in ISO8601 format. </param>
/// <param name="lastStartOn"> The time the node last started up. </param>
/// <param name="lastStopOn"> The integration runtime node last stop time. </param>
/// <param name="lastUpdateResult"> The result of the last integration runtime node update. </param>
/// <param name="lastStartUpdateOn"> The last time for the integration runtime node update start. </param>
/// <param name="lastEndUpdateOn"> The last time for the integration runtime node update end. </param>
/// <param name="isActiveDispatcher"> Indicates whether this node is the active dispatcher for integration runtime requests. </param>
/// <param name="concurrentJobsLimit"> Maximum concurrent jobs on the integration runtime node. </param>
/// <param name="maxConcurrentJobs"> The maximum concurrent jobs in this integration runtime. </param>
/// <param name="additionalProperties"> Additional Properties. </param>
internal SelfHostedIntegrationRuntimeNode(string nodeName, string machineName, Uri hostServiceUri, SelfHostedIntegrationRuntimeNodeStatus? status, IReadOnlyDictionary<string, string> capabilities, string versionStatus, string version, DateTimeOffset? registerOn, DateTimeOffset? lastConnectOn, DateTimeOffset? expireOn, DateTimeOffset? lastStartOn, DateTimeOffset? lastStopOn, IntegrationRuntimeUpdateResult? lastUpdateResult, DateTimeOffset? lastStartUpdateOn, DateTimeOffset? lastEndUpdateOn, bool? isActiveDispatcher, int? concurrentJobsLimit, int? maxConcurrentJobs, IReadOnlyDictionary<string, BinaryData> additionalProperties)
{
NodeName = nodeName;
MachineName = machineName;
HostServiceUri = hostServiceUri;
Status = status;
Capabilities = capabilities;
VersionStatus = versionStatus;
Version = version;
RegisterOn = registerOn;
LastConnectOn = lastConnectOn;
ExpireOn = expireOn;
LastStartOn = lastStartOn;
LastStopOn = lastStopOn;
LastUpdateResult = lastUpdateResult;
LastStartUpdateOn = lastStartUpdateOn;
LastEndUpdateOn = lastEndUpdateOn;
IsActiveDispatcher = isActiveDispatcher;
ConcurrentJobsLimit = concurrentJobsLimit;
MaxConcurrentJobs = maxConcurrentJobs;
AdditionalProperties = additionalProperties;
}
/// <summary> Name of the integration runtime node. </summary>
public string NodeName { get; }
/// <summary> Machine name of the integration runtime node. </summary>
public string MachineName { get; }
/// <summary> URI for the host machine of the integration runtime. </summary>
public Uri HostServiceUri { get; }
/// <summary> Status of the integration runtime node. </summary>
public SelfHostedIntegrationRuntimeNodeStatus? Status { get; }
/// <summary> The integration runtime capabilities dictionary. </summary>
public IReadOnlyDictionary<string, string> Capabilities { get; }
/// <summary> Status of the integration runtime node version. </summary>
public string VersionStatus { get; }
/// <summary> Version of the integration runtime node. </summary>
public string Version { get; }
/// <summary> The time at which the integration runtime node was registered in ISO8601 format. </summary>
public DateTimeOffset? RegisterOn { get; }
/// <summary> The most recent time at which the integration runtime was connected in ISO8601 format. </summary>
public DateTimeOffset? LastConnectOn { get; }
/// <summary> The time at which the integration runtime will expire in ISO8601 format. </summary>
public DateTimeOffset? ExpireOn { get; }
/// <summary> The time the node last started up. </summary>
public DateTimeOffset? LastStartOn { get; }
/// <summary> The integration runtime node last stop time. </summary>
public DateTimeOffset? LastStopOn { get; }
/// <summary> The result of the last integration runtime node update. </summary>
public IntegrationRuntimeUpdateResult? LastUpdateResult { get; }
/// <summary> The last time for the integration runtime node update start. </summary>
public DateTimeOffset? LastStartUpdateOn { get; }
/// <summary> The last time for the integration runtime node update end. </summary>
public DateTimeOffset? LastEndUpdateOn { get; }
/// <summary> Indicates whether this node is the active dispatcher for integration runtime requests. </summary>
public bool? IsActiveDispatcher { get; }
/// <summary> Maximum concurrent jobs on the integration runtime node. </summary>
public int? ConcurrentJobsLimit { get; }
/// <summary> The maximum concurrent jobs in this integration runtime. </summary>
public int? MaxConcurrentJobs { get; }
/// <summary>
/// Additional Properties
/// <para>
/// To assign an object to the value of this property use <see cref="BinaryData.FromObjectAsJson{T}(T, System.Text.Json.JsonSerializerOptions?)"/>.
/// </para>
/// <para>
/// To assign an already formatted json string to this property use <see cref="BinaryData.FromString(string)"/>.
/// </para>
/// <para>
/// Examples:
/// <list type="bullet">
/// <item>
/// <term>BinaryData.FromObjectAsJson("foo")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("\"foo\"")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromObjectAsJson(new { key = "value" })</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("{\"key\": \"value\"}")</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// </list>
/// </para>
/// </summary>
public IReadOnlyDictionary<string, BinaryData> AdditionalProperties { get; }
}
}