Struct google_appengine1::AutomaticScaling
source · pub struct AutomaticScaling {Show 13 fields
pub min_pending_latency: Option<String>,
pub cpu_utilization: Option<CpuUtilization>,
pub network_utilization: Option<NetworkUtilization>,
pub min_idle_instances: Option<i32>,
pub max_pending_latency: Option<String>,
pub max_idle_instances: Option<i32>,
pub disk_utilization: Option<DiskUtilization>,
pub request_utilization: Option<RequestUtilization>,
pub cool_down_period: Option<String>,
pub max_total_instances: Option<i32>,
pub max_concurrent_requests: Option<i32>,
pub min_total_instances: Option<i32>,
pub standard_scheduler_settings: Option<StandardSchedulerSettings>,
}
Expand description
Automatic scaling is based on request rate, response latencies, and other application metrics.
This type is not used in any activity, and only used as part of another schema.
Fields§
§min_pending_latency: Option<String>
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
cpu_utilization: Option<CpuUtilization>
Target scaling by CPU usage.
network_utilization: Option<NetworkUtilization>
Target scaling by network usage.
min_idle_instances: Option<i32>
Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
max_pending_latency: Option<String>
Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
max_idle_instances: Option<i32>
Maximum number of idle instances that should be maintained for this version.
disk_utilization: Option<DiskUtilization>
Target scaling by disk usage.
request_utilization: Option<RequestUtilization>
Target scaling by request utilization.
cool_down_period: Option<String>
Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes.
max_total_instances: Option<i32>
Maximum number of instances that should be started to handle requests.
max_concurrent_requests: Option<i32>
Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
min_total_instances: Option<i32>
Minimum number of instances that should be maintained for this version.
standard_scheduler_settings: Option<StandardSchedulerSettings>
Scheduler settings for standard environment.
Trait Implementations§
source§impl Clone for AutomaticScaling
impl Clone for AutomaticScaling
source§fn clone(&self) -> AutomaticScaling
fn clone(&self) -> AutomaticScaling
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutomaticScaling
impl Debug for AutomaticScaling
source§impl Default for AutomaticScaling
impl Default for AutomaticScaling
source§fn default() -> AutomaticScaling
fn default() -> AutomaticScaling
source§impl<'de> Deserialize<'de> for AutomaticScaling
impl<'de> Deserialize<'de> for AutomaticScaling
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for AutomaticScaling
impl Serialize for AutomaticScaling
impl Part for AutomaticScaling
Auto Trait Implementations§
impl Freeze for AutomaticScaling
impl RefUnwindSafe for AutomaticScaling
impl Send for AutomaticScaling
impl Sync for AutomaticScaling
impl Unpin for AutomaticScaling
impl UnwindSafe for AutomaticScaling
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more