AllocationSpecificSKUAllocationReservedInstancePropertiesResponseComputeBeta.fromMap constructor

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

Implementation

factory AllocationSpecificSKUAllocationReservedInstancePropertiesResponseComputeBeta.fromMap(Map<String, dynamic> map) {
  return AllocationSpecificSKUAllocationReservedInstancePropertiesResponseComputeBeta(
    guestAccelerators: pulumi.Input.fromValue(pulumi.Input.decodeList<AcceleratorConfigResponseComputeBeta>(map['guestAccelerators']!, (value) => AcceleratorConfigResponseComputeBeta.fromMap((value as Map).cast<String, dynamic>()))),
    localSsds: pulumi.Input.fromValue(pulumi.Input.decodeList<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseComputeBeta>(map['localSsds']!, (value) => AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseComputeBeta.fromMap((value as Map).cast<String, dynamic>()))),
    locationHint: pulumi.Input.fromValue(map['locationHint'] as String),
    machineType: pulumi.Input.fromValue(map['machineType'] as String),
    maintenanceFreezeDurationHours: pulumi.Input.fromValue(map['maintenanceFreezeDurationHours'] as int),
    maintenanceInterval: pulumi.Input.fromValue(map['maintenanceInterval'] as String),
    minCpuPlatform: pulumi.Input.fromValue(map['minCpuPlatform'] as String),
  );
}