pub struct AutoscalerArgs {
pub autoscaling_policy: Output<AutoscalerAutoscalingPolicy>,
pub description: Output<Option<String>>,
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub target: Output<String>,
pub zone: Output<Option<String>>,
}
Fields§
§autoscaling_policy: Output<AutoscalerAutoscalingPolicy>
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.
description: Output<Option<String>>
An optional description of this resource.
name: Output<Option<String>>
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.
project: Output<Option<String>>
§target: Output<String>
URL of the managed instance group that this autoscaler will scale.
zone: Output<Option<String>>
URL of the zone where the instance group resides.
Implementations§
source§impl AutoscalerArgs
impl AutoscalerArgs
sourcepub fn builder() -> AutoscalerArgsBuilder
pub fn builder() -> AutoscalerArgsBuilder
Create an instance of AutoscalerArgs
using the builder syntax
Trait Implementations§
source§impl Clone for AutoscalerArgs
impl Clone for AutoscalerArgs
source§fn clone(&self) -> AutoscalerArgs
fn clone(&self) -> AutoscalerArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for AutoscalerArgs
impl RefUnwindSafe for AutoscalerArgs
impl Send for AutoscalerArgs
impl Sync for AutoscalerArgs
impl Unpin for AutoscalerArgs
impl UnwindSafe for AutoscalerArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)