Share via


NodeTypeHealthPolicyMap.Add(String, Byte) Method

Definition

Adds an entry in the map for a specific node type, with max percent unhealthy nodes as value.

public void Add (string nodeTypeName, byte value);
override this.Add : string * byte -> unit
Public Sub Add (nodeTypeName As String, value As Byte)

Parameters

nodeTypeName
String

The node type name.

value
Byte

The max percent unhealthy nodes allowed for the node type. Must be between 0 and 100.

Exceptions

The specified percentage value was outside the range of integer values from zero to 100.

Applies to