fromString

Safely parses a string to ResourceStatus, returning UNKNOWN for unrecognized values.

Return

The corresponding ResourceStatus or UNKNOWN if not recognized.

Parameters

value

The string value to parse.