toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'id': ?id,
'instanceTypeConfigs': ?pulumi.Input.mapOptionalInputValue<List<ClusterCoreInstanceFleetInstanceTypeConfig>, List<Map<String, dynamic>>>(instanceTypeConfigs, (value) => pulumi.Input.encodeList<ClusterCoreInstanceFleetInstanceTypeConfig, Map<String, dynamic>>(value, (value) => value.toMap())),
'launchSpecifications': ?pulumi.Input.mapOptionalInputValue<ClusterCoreInstanceFleetLaunchSpecifications, Map<String, dynamic>>(launchSpecifications, (value) => value.toMap()),
'name': ?name,
'provisionedOnDemandCapacity': ?provisionedOnDemandCapacity,
'provisionedSpotCapacity': ?provisionedSpotCapacity,
'targetOnDemandCapacity': ?targetOnDemandCapacity,
'targetSpotCapacity': ?targetSpotCapacity,
};
}