AllocationSpecificSKUAllocationReservedInstancePropertiesResponse.fromMap constructor
AllocationSpecificSKUAllocationReservedInstancePropertiesResponse.fromMap()
Implementation
factory AllocationSpecificSKUAllocationReservedInstancePropertiesResponse.fromMap(Map<String, dynamic> map) {
return AllocationSpecificSKUAllocationReservedInstancePropertiesResponse(
guestAccelerators: pulumi.Input.fromValue(pulumi.Input.decodeList<AcceleratorConfigResponse>(map['guestAccelerators']!, (value) => AcceleratorConfigResponse.fromMap((value as Map).cast<String, dynamic>()))),
localSsds: pulumi.Input.fromValue(pulumi.Input.decodeList<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse>(map['localSsds']!, (value) => AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse.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),
);
}