toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'autoRecoverySupported': autoRecoverySupported,
    'bandwidthWeightings': bandwidthWeightings,
    'bareMetal': bareMetal,
    'bootModes': bootModes,
    'burstablePerformanceSupported': burstablePerformanceSupported,
    'currentGeneration': currentGeneration,
    'dedicatedHostsSupported': dedicatedHostsSupported,
    'defaultCores': defaultCores,
    'defaultNetworkCardIndex': defaultNetworkCardIndex,
    'defaultThreadsPerCore': defaultThreadsPerCore,
    'defaultVcpus': defaultVcpus,
    'ebsEncryptionSupport': ebsEncryptionSupport,
    'ebsNvmeSupport': ebsNvmeSupport,
    'ebsOptimizedSupport': ebsOptimizedSupport,
    'ebsPerformanceBaselineBandwidth': ebsPerformanceBaselineBandwidth,
    'ebsPerformanceBaselineIops': ebsPerformanceBaselineIops,
    'ebsPerformanceBaselineThroughput': ebsPerformanceBaselineThroughput,
    'ebsPerformanceMaximumBandwidth': ebsPerformanceMaximumBandwidth,
    'ebsPerformanceMaximumIops': ebsPerformanceMaximumIops,
    'ebsPerformanceMaximumThroughput': ebsPerformanceMaximumThroughput,
    'efaMaximumInterfaces': efaMaximumInterfaces,
    'efaSupported': efaSupported,
    'enaSrdSupported': enaSrdSupported,
    'enaSupport': enaSupport,
    'encryptionInTransitSupported': encryptionInTransitSupported,
    'fpgas': pulumi.Input.encodeList<GetInstanceTypeFpga, Map<String, dynamic>>(fpgas, (value) => value.toMap()),
    'freeTierEligible': freeTierEligible,
    'gpuses': pulumi.Input.encodeList<GetInstanceTypeGpus, Map<String, dynamic>>(gpuses, (value) => value.toMap()),
    'hibernationSupported': hibernationSupported,
    'hypervisor': hypervisor,
    'id': id,
    'inferenceAccelerators': pulumi.Input.encodeList<GetInstanceTypeInferenceAccelerator, Map<String, dynamic>>(inferenceAccelerators, (value) => value.toMap()),
    'instanceDisks': pulumi.Input.encodeList<GetInstanceTypeInstanceDisk, Map<String, dynamic>>(instanceDisks, (value) => value.toMap()),
    'instanceStorageSupported': instanceStorageSupported,
    'instanceType': instanceType,
    'ipv6Supported': ipv6Supported,
    'maximumIpv4AddressesPerInterface': maximumIpv4AddressesPerInterface,
    'maximumIpv6AddressesPerInterface': maximumIpv6AddressesPerInterface,
    'maximumNetworkCards': maximumNetworkCards,
    'maximumNetworkInterfaces': maximumNetworkInterfaces,
    'mediaAccelerators': pulumi.Input.encodeList<GetInstanceTypeMediaAccelerator, Map<String, dynamic>>(mediaAccelerators, (value) => value.toMap()),
    'memorySize': memorySize,
    'networkCards': pulumi.Input.encodeList<GetInstanceTypeNetworkCard, Map<String, dynamic>>(networkCards, (value) => value.toMap()),
    'networkPerformance': networkPerformance,
    'neuronDevices': pulumi.Input.encodeList<GetInstanceTypeNeuronDevice, Map<String, dynamic>>(neuronDevices, (value) => value.toMap()),
    'nitroEnclavesSupport': nitroEnclavesSupport,
    'nitroTpmSupport': nitroTpmSupport,
    'nitroTpmSupportedVersions': nitroTpmSupportedVersions,
    'phcSupport': phcSupport,
    'region': region,
    'supportedArchitectures': supportedArchitectures,
    'supportedCpuFeatures': supportedCpuFeatures,
    'supportedPlacementStrategies': supportedPlacementStrategies,
    'supportedRootDeviceTypes': supportedRootDeviceTypes,
    'supportedUsagesClasses': supportedUsagesClasses,
    'supportedVirtualizationTypes': supportedVirtualizationTypes,
    'sustainedClockSpeed': sustainedClockSpeed,
    'totalFpgaMemory': totalFpgaMemory,
    'totalGpuMemory': totalGpuMemory,
    'totalInferenceMemory': totalInferenceMemory,
    'totalInstanceStorage': totalInstanceStorage,
    'totalMediaMemory': totalMediaMemory,
    'totalNeuronDeviceMemory': totalNeuronDeviceMemory,
    'validCores': validCores,
    'validThreadsPerCores': validThreadsPerCores,
  };
}