-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
AmlComputeNodeInformation.cs
50 lines (44 loc) · 2.31 KB
/
AmlComputeNodeInformation.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Net;
namespace Azure.ResourceManager.MachineLearning.Models
{
/// <summary> Compute node information related to a AmlCompute. </summary>
public partial class AmlComputeNodeInformation
{
/// <summary> Initializes a new instance of <see cref="AmlComputeNodeInformation"/>. </summary>
internal AmlComputeNodeInformation()
{
}
/// <summary> Initializes a new instance of <see cref="AmlComputeNodeInformation"/>. </summary>
/// <param name="nodeId"> ID of the compute node. </param>
/// <param name="privateIPAddress"> Private IP address of the compute node. </param>
/// <param name="publicIPAddress"> Public IP address of the compute node. </param>
/// <param name="port"> SSH port number of the node. </param>
/// <param name="nodeState"> State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. </param>
/// <param name="runId"> ID of the Experiment running on the node, if any else null. </param>
internal AmlComputeNodeInformation(string nodeId, IPAddress privateIPAddress, IPAddress publicIPAddress, int? port, MachineLearningNodeState? nodeState, string runId)
{
NodeId = nodeId;
PrivateIPAddress = privateIPAddress;
PublicIPAddress = publicIPAddress;
Port = port;
NodeState = nodeState;
RunId = runId;
}
/// <summary> ID of the compute node. </summary>
public string NodeId { get; }
/// <summary> Private IP address of the compute node. </summary>
public IPAddress PrivateIPAddress { get; }
/// <summary> Public IP address of the compute node. </summary>
public IPAddress PublicIPAddress { get; }
/// <summary> SSH port number of the node. </summary>
public int? Port { get; }
/// <summary> State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. </summary>
public MachineLearningNodeState? NodeState { get; }
/// <summary> ID of the Experiment running on the node, if any else null. </summary>
public string RunId { get; }
}
}