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