Struct google_compute1::api::ResourcePolicyGroupPlacementPolicy[][src]

pub struct ResourcePolicyGroupPlacementPolicy {
    pub availability_domain_count: Option<i32>,
    pub collocation: Option<String>,
    pub vm_count: Option<i32>,
}

A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality

This type is not used in any activity, and only used as part of another schema.

Fields

availability_domain_count: Option<i32>

The number of availability domains instances will be spread across. If two instances are in different availability domain, they will not be put in the same low latency network

collocation: Option<String>

Specifies network collocation

vm_count: Option<i32>

Number of vms in this placement group

Trait Implementations

impl Clone for ResourcePolicyGroupPlacementPolicy[src]

impl Debug for ResourcePolicyGroupPlacementPolicy[src]

impl Default for ResourcePolicyGroupPlacementPolicy[src]

impl<'de> Deserialize<'de> for ResourcePolicyGroupPlacementPolicy[src]

impl Part for ResourcePolicyGroupPlacementPolicy[src]

impl Serialize for ResourcePolicyGroupPlacementPolicy[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourcePolicyGroupPlacementPolicy[src]

impl Send for ResourcePolicyGroupPlacementPolicy[src]

impl Sync for ResourcePolicyGroupPlacementPolicy[src]

impl Unpin for ResourcePolicyGroupPlacementPolicy[src]

impl UnwindSafe for ResourcePolicyGroupPlacementPolicy[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.