toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'autoscalePolicyId': autoscalePolicyId,
'consumedMemoryThresholds': ?pulumi.Input.mapOptionalInputValue<ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholds, Map<String, dynamic>>(consumedMemoryThresholds, (value) => value.toMap()),
'cpuThresholds': ?pulumi.Input.mapOptionalInputValue<ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholds, Map<String, dynamic>>(cpuThresholds, (value) => value.toMap()),
'nodeTypeId': nodeTypeId,
'scaleOutSize': scaleOutSize,
'storageThresholds': ?pulumi.Input.mapOptionalInputValue<ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholds, Map<String, dynamic>>(storageThresholds, (value) => value.toMap()),
};
}