Language

NodePoolUpdate Class

Definition

Concrete tracked resource types can be created by aliasing this type using a specific property type.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.NodePoolUpdateTypeConverter))]
public class NodePoolUpdate : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.INodePoolUpdate, Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.NodePoolUpdateTypeConverter))>]
type NodePoolUpdate = class
    interface INodePoolUpdate
    interface IJsonSerializable
    interface IAzureResourceManagerCommonTypesTrackedResourceUpdate
    interface IResource
    interface IValidates
Public Class NodePoolUpdate
Implements INodePoolUpdate, IValidates
Inheritance
NodePoolUpdate
Attributes
Implements

Constructors

Name Description
NodePoolUpdate()

Creates an new NodePoolUpdate 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
Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

IdentityType

The type of managed identity assigned to this resource.

IdentityUserAssignedIdentity

The identities assigned to this resource by the user.

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.

Name

The name of the resource

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
SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Taint

Taints for the nodes.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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 NodePoolUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NodePoolUpdate.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NodePoolUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to