WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.fromMap constructor

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

Implementation

factory WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.fromMap(Map<String, dynamic> map) {
  return WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig(
    bootDiskSizeGb: (() { final guardedValue = map['bootDiskSizeGb']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
    bootDiskType: (() { final guardedValue = map['bootDiskType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    numLocalSsds: (() { final guardedValue = map['numLocalSsds']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
  );
}