AllocationAggregateReservationReservedResourceInfoAcceleratorComputeBeta.fromMap constructor
AllocationAggregateReservationReservedResourceInfoAcceleratorComputeBeta.fromMap()
Implementation
factory AllocationAggregateReservationReservedResourceInfoAcceleratorComputeBeta.fromMap(Map<String, dynamic> map) {
return AllocationAggregateReservationReservedResourceInfoAcceleratorComputeBeta(
acceleratorCount: (() { final guardedValue = map['acceleratorCount']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as int); })(),
acceleratorType: (() { final guardedValue = map['acceleratorType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}