Language

NodePoolPropertiesUpdate Class

Definition

Represents the node pool properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.NodePoolPropertiesUpdateTypeConverter))]
public class NodePoolPropertiesUpdate : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.INodePoolPropertiesUpdate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.NodePoolPropertiesUpdateTypeConverter))>]
type NodePoolPropertiesUpdate = class
    interface INodePoolPropertiesUpdate
    interface IJsonSerializable
Public Class NodePoolPropertiesUpdate
Implements INodePoolPropertiesUpdate
Inheritance
NodePoolPropertiesUpdate
Attributes
Implements

Constructors

Name Description
NodePoolPropertiesUpdate()

Creates an new NodePoolPropertiesUpdate instance.

Properties

Name Description
AutoScalingMax

The maximum number of nodes in the node pool. Validation:

  • Minimum: 0 (must be >= min)
  • Maximum: 200 (only when availabilityZone is not specified)
  • No maximum when availabilityZone is specified
AutoScalingMin

The minimum number of nodes in the node pool. Validation:

  • Minimum: 0
  • Maximum: 200 (only when availabilityZone is not specified)
  • No maximum when availabilityZone is specified
Label

Kubernetes labels to propagate to the NodePool Nodes. Note that when the labels are updated this is only applied to newly created nodes in the NodePool, existing node labels remain unchanged.

NodeDrainTimeoutMinute

nodeDrainTimeoutMinutes is the grace period for how long Pod Disruption Budget-protected workloads will be respected during any node draining operation. After this grace period, any workloads protected by Pod Disruption Budgets that have not been successfully drained from a node will be forcibly evicted. This is especially relevant to cluster upgrades. Valid values are from 0 to 10080 minutes (1 week) . 0 means that the NodePool can be drained without any time limitation. If unset the cluster nodeDrainTimeoutMinutes value is used as a default.

Replica

The number of worker nodes, it cannot be used together with autoscaling. Validation:

  • Minimum: 0
  • Maximum: 200 (only when availabilityZone is not specified)
  • No maximum when availabilityZone is specified
Taint

Taints for the nodes.

VersionChannelGroup

ChannelGroup is the name of the set to which this version belongs. Each version belongs to only a single set. If not specified, the default value is 'stable'. This property is intended to be updateable, but that support is not yet complete. Until then, changing this value after node pool creation is rejected.

VersionId

ID is the unique identifier of the version.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NodePoolPropertiesUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NodePoolPropertiesUpdate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.INodePoolPropertiesUpdate.

FromJsonString(String)

Creates a new instance of NodePoolPropertiesUpdate, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NodePoolPropertiesUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to