toComputeLimitsUnitType method
Implementation
ComputeLimitsUnitType toComputeLimitsUnitType() {
switch (this) {
case 'InstanceFleetUnits':
return ComputeLimitsUnitType.instanceFleetUnits;
case 'Instances':
return ComputeLimitsUnitType.instances;
case 'VCPU':
return ComputeLimitsUnitType.vcpu;
}
throw Exception('$this is not known in enum ComputeLimitsUnitType');
}