[−][src]Struct google_compute1::InstanceGroupManager
Represents a Managed Instance Group resource.
An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups.
For zonal Managed Instance Group, use the instanceGroupManagers resource.
For regional Managed Instance Group, use the regionInstanceGroupManagers resource. (== resource_for beta.instanceGroupManagers ==) (== resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) (== resource_for v1.regionInstanceGroupManagers ==)
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list managed instances instance group managers (none)
- resize instance group managers (none)
- aggregated list instance group managers (none)
- get region instance group managers (response)
- delete instances instance group managers (none)
- list instance group managers (none)
- delete instance group managers (none)
- abandon instances instance group managers (none)
- get instance group managers (response)
- set instance template instance group managers (none)
- insert region instance group managers (request)
- insert instance group managers (request)
- set target pools instance group managers (none)
- patch instance group managers (request)
- patch region instance group managers (request)
- recreate instances instance group managers (none)
Fields
status: Option<InstanceGroupManagerStatus>
[Output Only] The status of this managed instance group.
description: Option<String>
An optional description of this resource. Provide this property when you create the resource.
auto_healing_policies: Option<Vec<InstanceGroupManagerAutoHealingPolicy>>
The autohealing policy for this managed instance group. You can specify only one value.
instance_group: Option<String>
[Output Only] The URL of the Instance Group resource.
current_actions: Option<InstanceGroupManagerActionsSummary>
[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
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 all new instances in the managed instance group.
fingerprint: Option<String>
Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet.
To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
creation_timestamp: Option<String>
[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.
kind: Option<String>
[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.
target_size: Option<i32>
The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group changes this number.
name: Option<String>
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
zone: Option<String>
[Output Only] The URL of the zone where the managed instance group is located (for zonal resources).
versions: Option<Vec<InstanceGroupManagerVersion>>
Specifies the instance templates used by this managed instance group to create instances.
Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
region: Option<String>
[Output Only] The URL of the region where the managed instance group resides (for regional resources).
distribution_policy: Option<DistributionPolicy>
Policy specifying intended distribution of instances in regional managed instance group.
id: Option<String>
[Output Only] A unique identifier for this resource type. The server generates this identifier.
base_instance_name: Option<String>
The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
update_policy: Option<InstanceGroupManagerUpdatePolicy>
The update policy for this managed instance group.
target_pools: Option<Vec<String>>
The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
self_link: Option<String>
[Output Only] The URL for this managed instance group. The server defines this URL.
named_ports: Option<Vec<NamedPort>>
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
Trait Implementations
impl Resource for InstanceGroupManager
[src]
impl ResponseResult for InstanceGroupManager
[src]
impl RequestValue for InstanceGroupManager
[src]
impl Default for InstanceGroupManager
[src]
fn default() -> InstanceGroupManager
[src]
impl Clone for InstanceGroupManager
[src]
fn clone(&self) -> InstanceGroupManager
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for InstanceGroupManager
[src]
impl Serialize for InstanceGroupManager
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for InstanceGroupManager
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for InstanceGroupManager
impl Unpin for InstanceGroupManager
impl Sync for InstanceGroupManager
impl UnwindSafe for InstanceGroupManager
impl RefUnwindSafe for InstanceGroupManager
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,