RollingUpdateDeployment.fromMap constructor

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

Implementation

factory RollingUpdateDeployment.fromMap(Map<String, dynamic> map) {
  return RollingUpdateDeployment(
    maxSurge: (() { final guardedValue = map['maxSurge']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as int); })(),
    maxUnavailable: (() { final guardedValue = map['maxUnavailable']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as int); })(),
  );
}