pub struct InstanceGroupManagerVersion {
pub instance_template: Option<String>,
pub name: Option<String>,
pub target_size: Option<FixedOrPercent>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§instance_template: Option<String>
The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize
for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group’s updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize
for this version is reached.
name: Option<String>
Name of the version. Unique among all versions in the scope of this managed instance group.
target_size: Option<FixedOrPercent>
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
Trait Implementations§
Source§impl Clone for InstanceGroupManagerVersion
impl Clone for InstanceGroupManagerVersion
Source§fn clone(&self) -> InstanceGroupManagerVersion
fn clone(&self) -> InstanceGroupManagerVersion
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InstanceGroupManagerVersion
impl Debug for InstanceGroupManagerVersion
Source§impl Default for InstanceGroupManagerVersion
impl Default for InstanceGroupManagerVersion
Source§fn default() -> InstanceGroupManagerVersion
fn default() -> InstanceGroupManagerVersion
Source§impl<'de> Deserialize<'de> for InstanceGroupManagerVersion
impl<'de> Deserialize<'de> for InstanceGroupManagerVersion
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>,
impl Part for InstanceGroupManagerVersion
Auto Trait Implementations§
impl Freeze for InstanceGroupManagerVersion
impl RefUnwindSafe for InstanceGroupManagerVersion
impl Send for InstanceGroupManagerVersion
impl Sync for InstanceGroupManagerVersion
impl Unpin for InstanceGroupManagerVersion
impl UnwindSafe for InstanceGroupManagerVersion
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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