pub struct RegionAutoscalerArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RegionAutoscalerArgsBuilder<S>
impl<S: State> RegionAutoscalerArgsBuilder<S>
sourcepub fn build_struct(self) -> RegionAutoscalerArgswhere
S: IsComplete,
pub fn build_struct(self) -> RegionAutoscalerArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn autoscaling_policy(
self,
value: impl Into<Output<RegionAutoscalerAutoscalingPolicy>>,
) -> RegionAutoscalerArgsBuilder<SetAutoscalingPolicy<S>>where
S::AutoscalingPolicy: IsUnset,
pub fn autoscaling_policy(
self,
value: impl Into<Output<RegionAutoscalerAutoscalingPolicy>>,
) -> RegionAutoscalerArgsBuilder<SetAutoscalingPolicy<S>>where
S::AutoscalingPolicy: IsUnset,
Required.
The configuration parameters for the autoscaling algorithm. You can define one or more of the policies for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. Structure is documented below.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionAutoscalerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionAutoscalerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionAutoscalerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionAutoscalerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionAutoscalerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionAutoscalerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. The name must be 1-63 characters long and match
the regular expression a-z?
which means the
first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionAutoscalerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionAutoscalerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. The name must be 1-63 characters long and match
the regular expression a-z?
which means the
first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.