Class NodeDeployment
Holds information about a deployed cluster node.
Namespace: Neon.Kube.Deployment
Assembly: Neon.Kube.dll
Syntax
public class NodeDeployment
Constructors
NodeDeployment()
Default constructor.
Declaration
public NodeDeployment()
NodeDeployment(NodeDefinition)
Constructs an instances from a cluster definition NodeDefinition.
Declaration
public NodeDeployment(NodeDefinition nodeDefinition)
Parameters
Type | Name | Description |
---|---|---|
NodeDefinition | nodeDefinition | Specifies the node definition. |
Properties
Address
Specifies the IP address for the node.
Declaration
[JsonProperty(PropertyName = "Address", Required = Required.Always)]
[YamlMember(Alias = "address", ApplyNamingConventions = false)]
public string Address { get; set; }
Property Value
Type | Description |
---|---|
string |
Hypervisor
Optionally specifies hypervisor hosting related options for environments like Hyper-V and XenServer.
Declaration
[JsonProperty(PropertyName = "Hypervisor", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "hypervisor", ApplyNamingConventions = false)]
public HypervisorNodeOptions Hypervisor { get; set; }
Property Value
Type | Description |
---|---|
HypervisorNodeOptions |
Name
Identifies the node by name.
note
This is same name the node had in the cluster definition and it excludes any prefix added for the hosting environment.
Declaration
[JsonProperty(PropertyName = "Name", Required = Required.Always)]
[YamlMember(Alias = "name", ApplyNamingConventions = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |