ClusterNodePoolNodeConfigNodeImageConfig.fromMap constructor

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

Implementation

factory ClusterNodePoolNodeConfigNodeImageConfig.fromMap(Map<String, dynamic> map) {
  return ClusterNodePoolNodeConfigNodeImageConfig(
    image: (() { final guardedValue = map['image']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    imageProject: (() { final guardedValue = map['imageProject']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}