Class HostingResourceConstraint
Describes a resource constraint that will prevent a cluster from being deployed.
Namespace: Neon.Kube.Hosting
Assembly: Neon.Kube.dll
Syntax
public class HostingResourceConstraint
Constructors
HostingResourceConstraint()
Default constructor.
Declaration
public HostingResourceConstraint()
Properties
Details
Returns an optional string with additional human readable details about the hosting environment's resource constraint.
Declaration
[JsonProperty(PropertyName = "Details", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "details", ApplyNamingConventions = false)]
public string Details { get; set; }
Property Value
Type | Description |
---|---|
string |
Nodes
Lists the cluster nodes by name that are impacted by the resource constraint.
Declaration
[JsonProperty(PropertyName = "Nodes", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "nodes", ApplyNamingConventions = false)]
public List<string> Nodes { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
ResourceType
Indicates the constrained resource type: Memory, CPU, disk,...
Declaration
[JsonProperty(PropertyName = "ResourceType", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "resourceType", ApplyNamingConventions = false)]
public HostingConstrainedResourceType ResourceType { get; set; }
Property Value
Type | Description |
---|---|
HostingConstrainedResourceType |