pub struct RegionAutoscalerArgs {
pub autoscaling_policy: Output<RegionAutoscalerAutoscalingPolicy>,
pub description: Output<Option<String>>,
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub region: Output<Option<String>>,
pub target: Output<String>,
}
Fields§
§autoscaling_policy: Output<RegionAutoscalerAutoscalingPolicy>
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>>
§region: Output<Option<String>>
URL of the region where the instance group resides.
target: Output<String>
URL of the managed instance group that this autoscaler will scale.
Implementations§
source§impl RegionAutoscalerArgs
impl RegionAutoscalerArgs
sourcepub fn builder() -> RegionAutoscalerArgsBuilder
pub fn builder() -> RegionAutoscalerArgsBuilder
Create an instance of RegionAutoscalerArgs
using the builder syntax
Trait Implementations§
source§impl Clone for RegionAutoscalerArgs
impl Clone for RegionAutoscalerArgs
source§fn clone(&self) -> RegionAutoscalerArgs
fn clone(&self) -> RegionAutoscalerArgs
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 RegionAutoscalerArgs
impl RefUnwindSafe for RegionAutoscalerArgs
impl Send for RegionAutoscalerArgs
impl Sync for RegionAutoscalerArgs
impl Unpin for RegionAutoscalerArgs
impl UnwindSafe for RegionAutoscalerArgs
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
)