const idx = [
	'SHUTOFF',
	'ACTIVE',
	'PAUSED',
	'BUILD',
	'DELETED',
	'ERROR',
	'HARD_REBOOT',
	'MIGRATING',
	'PASSWORD',
	'REBOOT',
	'REBUILD',
	'RESCUE',
	'RESIZE',
	'REVERT_RESIZE',
	'SHELVED',
	'SHELVED_OFFLOADED',
	'SOFT_DELETED',
	'SUSPENDED',
	'UNKNOWN',
	'VERIFY_RESIZE',
].indexOf(value);
return idx !== -1 ? idx : 30;