CpuUtilization.fromMap constructor

CpuUtilization.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory CpuUtilization.fromMap(Map<String, dynamic> map) {
  return CpuUtilization(
    aggregationWindowLength: (() { final guardedValue = map['aggregationWindowLength']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    targetUtilization: (() { final guardedValue = map['targetUtilization']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as double); })(),
  );
}