Skip to main content

strategy_to_cluster_option

Function strategy_to_cluster_option 

Source
pub(crate) fn strategy_to_cluster_option(
    strategy: &AutoScalingStrategy,
) -> ClusterOption<Raw>
Expand description

Render a structured policy back into a CREATE CLUSTER / ALTER CLUSTER ... SET option, e.g. AUTO SCALING STRATEGY = (ON HYDRATION (HYDRATION SIZE = '3200cc', LINGER DURATION = '00:10:00')).