ClusterNodeConfigLinuxNodeConfigSwapConfigEphemeralLocalSsdProfile.fromMap constructor
ClusterNodeConfigLinuxNodeConfigSwapConfigEphemeralLocalSsdProfile.fromMap()
Implementation
factory ClusterNodeConfigLinuxNodeConfigSwapConfigEphemeralLocalSsdProfile.fromMap(Map<String, dynamic> map) {
return ClusterNodeConfigLinuxNodeConfigSwapConfigEphemeralLocalSsdProfile(
swapSizeGib: (() { final guardedValue = map['swapSizeGib']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
swapSizePercent: (() { final guardedValue = map['swapSizePercent']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
);
}