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