toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'autoscalePolicyId': autoscalePolicyId,
    'consumedMemoryThresholds': pulumi.Input.mapInputValue<List<GetClusterAutoscalingSettingAutoscalingPolicyConsumedMemoryThreshold>, List<Map<String, dynamic>>>(consumedMemoryThresholds, (value) => pulumi.Input.encodeList<GetClusterAutoscalingSettingAutoscalingPolicyConsumedMemoryThreshold, Map<String, dynamic>>(value, (value) => value.toMap())),
    'cpuThresholds': pulumi.Input.mapInputValue<List<GetClusterAutoscalingSettingAutoscalingPolicyCpuThreshold>, List<Map<String, dynamic>>>(cpuThresholds, (value) => pulumi.Input.encodeList<GetClusterAutoscalingSettingAutoscalingPolicyCpuThreshold, Map<String, dynamic>>(value, (value) => value.toMap())),
    'nodeTypeId': nodeTypeId,
    'scaleOutSize': scaleOutSize,
    'storageThresholds': pulumi.Input.mapInputValue<List<GetClusterAutoscalingSettingAutoscalingPolicyStorageThreshold>, List<Map<String, dynamic>>>(storageThresholds, (value) => pulumi.Input.encodeList<GetClusterAutoscalingSettingAutoscalingPolicyStorageThreshold, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}