toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'instanceRedistributionType': instanceRedistributionType,
    'maxSurge': pulumi.Input.mapInputValue<FixedOrPercentResponseComputeBeta, Map<String, dynamic>>(maxSurge, (value) => value.toMap()),
    'maxUnavailable': pulumi.Input.mapInputValue<FixedOrPercentResponseComputeBeta, Map<String, dynamic>>(maxUnavailable, (value) => value.toMap()),
    'minReadySec': minReadySec,
    'minimalAction': minimalAction,
    'mostDisruptiveAllowedAction': mostDisruptiveAllowedAction,
    'replacementMethod': replacementMethod,
    'type': type,
  };
}