#[non_exhaustive]pub struct ManagedGroupConfig {
pub instance_template_name: String,
pub instance_group_manager_name: String,
pub instance_group_manager_uri: String,
/* private fields */
}Expand description
Specifies the resources used to actively manage an instance group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.instance_template_name: StringOutput only. The name of the Instance Template used for the Managed Instance Group.
instance_group_manager_name: StringOutput only. The name of the Instance Group Manager for this group.
instance_group_manager_uri: StringOutput only. The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
Implementations§
Source§impl ManagedGroupConfig
impl ManagedGroupConfig
pub fn new() -> Self
Sourcepub fn set_instance_template_name<T: Into<String>>(self, v: T) -> Self
pub fn set_instance_template_name<T: Into<String>>(self, v: T) -> Self
Sets the value of instance_template_name.
Sourcepub fn set_instance_group_manager_name<T: Into<String>>(self, v: T) -> Self
pub fn set_instance_group_manager_name<T: Into<String>>(self, v: T) -> Self
Sets the value of instance_group_manager_name.
Sourcepub fn set_instance_group_manager_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_instance_group_manager_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of instance_group_manager_uri.
Trait Implementations§
Source§impl Clone for ManagedGroupConfig
impl Clone for ManagedGroupConfig
Source§fn clone(&self) -> ManagedGroupConfig
fn clone(&self) -> ManagedGroupConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ManagedGroupConfig
impl Debug for ManagedGroupConfig
Source§impl Default for ManagedGroupConfig
impl Default for ManagedGroupConfig
Source§fn default() -> ManagedGroupConfig
fn default() -> ManagedGroupConfig
Returns the “default value” for a type. Read more
Source§impl Message for ManagedGroupConfig
impl Message for ManagedGroupConfig
Source§impl PartialEq for ManagedGroupConfig
impl PartialEq for ManagedGroupConfig
impl StructuralPartialEq for ManagedGroupConfig
Auto Trait Implementations§
impl Freeze for ManagedGroupConfig
impl RefUnwindSafe for ManagedGroupConfig
impl Send for ManagedGroupConfig
impl Sync for ManagedGroupConfig
impl Unpin for ManagedGroupConfig
impl UnwindSafe for ManagedGroupConfig
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
Mutably borrows from an owned value. Read more