GetClusterNodeConfigLinuxNodeConfigSwapConfigEphemeralLocalSsdProfile.fromMap constructor

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

Implementation

factory GetClusterNodeConfigLinuxNodeConfigSwapConfigEphemeralLocalSsdProfile.fromMap(Map<String, dynamic> map) {
  return GetClusterNodeConfigLinuxNodeConfigSwapConfigEphemeralLocalSsdProfile(
    swapSizeGib: pulumi.Input.fromValue((map['swapSizeGib'] as num).toInt()),
    swapSizePercent: pulumi.Input.fromValue((map['swapSizePercent'] as num).toInt()),
  );
}