AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.fromMap constructor

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

Implementation

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