Struct google_compute1::api::InstanceGroupManagerVersion [−][src]
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 up. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
Trait Implementations
impl Clone for InstanceGroupManagerVersion[src]
fn clone(&self) -> InstanceGroupManagerVersion[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for InstanceGroupManagerVersion[src]
impl Default for InstanceGroupManagerVersion[src]
impl<'de> Deserialize<'de> for InstanceGroupManagerVersion[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for InstanceGroupManagerVersion[src]
impl Serialize for InstanceGroupManagerVersion[src]
Auto Trait Implementations
impl RefUnwindSafe for InstanceGroupManagerVersion[src]
impl Send for InstanceGroupManagerVersion[src]
impl Sync for InstanceGroupManagerVersion[src]
impl Unpin for InstanceGroupManagerVersion[src]
impl UnwindSafe for InstanceGroupManagerVersion[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,