ClusterStorageResourceConfigNewLustre.fromMap constructor

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

Implementation

factory ClusterStorageResourceConfigNewLustre.fromMap(Map<String, dynamic> map) {
  return ClusterStorageResourceConfigNewLustre(
    capacityGb: pulumi.Input.fromValue(map['capacityGb'] as String),
    description: (() { final guardedValue = map['description']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    filesystem: pulumi.Input.fromValue(map['filesystem'] as String),
    lustre: pulumi.Input.fromValue(map['lustre'] as String),
    perUnitStorageThroughput: (() { final guardedValue = map['perUnitStorageThroughput']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}