RollingUpdateDeploymentPatch.fromMap constructor
RollingUpdateDeploymentPatch.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RollingUpdateDeploymentPatch.fromMap(Map<String, dynamic> map) {
return RollingUpdateDeploymentPatch(
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); })(),
);
}