Struct google_compute1::api::InstanceGroupManager
source · pub struct InstanceGroupManager {Show 25 fields
pub all_instances_config: Option<InstanceGroupManagerAllInstancesConfig>,
pub auto_healing_policies: Option<Vec<InstanceGroupManagerAutoHealingPolicy>>,
pub base_instance_name: Option<String>,
pub creation_timestamp: Option<String>,
pub current_actions: Option<InstanceGroupManagerActionsSummary>,
pub description: Option<String>,
pub distribution_policy: Option<DistributionPolicy>,
pub fingerprint: Option<Vec<u8>>,
pub id: Option<u64>,
pub instance_group: Option<String>,
pub instance_lifecycle_policy: Option<InstanceGroupManagerInstanceLifecyclePolicy>,
pub instance_template: Option<String>,
pub kind: Option<String>,
pub list_managed_instances_results: Option<String>,
pub name: Option<String>,
pub named_ports: Option<Vec<NamedPort>>,
pub region: Option<String>,
pub self_link: Option<String>,
pub stateful_policy: Option<StatefulPolicy>,
pub status: Option<InstanceGroupManagerStatus>,
pub target_pools: Option<Vec<String>>,
pub target_size: Option<i32>,
pub update_policy: Option<InstanceGroupManagerUpdatePolicy>,
pub versions: Option<Vec<InstanceGroupManagerVersion>>,
pub zone: Option<String>,
}
Expand description
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.
§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).
- abandon instances instance group managers (none)
- aggregated list instance group managers (none)
- apply updates to instances instance group managers (none)
- create instances instance group managers (none)
- delete instance group managers (none)
- delete instances instance group managers (none)
- delete per instance configs instance group managers (none)
- get instance group managers (response)
- insert instance group managers (request)
- list instance group managers (none)
- list errors instance group managers (none)
- list managed instances instance group managers (none)
- list per instance configs instance group managers (none)
- patch instance group managers (request)
- patch per instance configs instance group managers (none)
- recreate instances instance group managers (none)
- resize instance group managers (none)
- set instance template instance group managers (none)
- set target pools instance group managers (none)
- update per instance configs instance group managers (none)
- get region instance group managers (response)
- insert region instance group managers (request)
- patch region instance group managers (request)
Fields§
§all_instances_config: Option<InstanceGroupManagerAllInstancesConfig>
Specifies configuration that overrides the instance template configuration for the group.
auto_healing_policies: Option<Vec<InstanceGroupManagerAutoHealingPolicy>>
The autohealing policy for this managed instance group. You can specify only one value.
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.
creation_timestamp: Option<String>
[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.
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.
description: Option<String>
An optional description of this resource.
distribution_policy: Option<DistributionPolicy>
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
fingerprint: Option<Vec<u8>>
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.
id: Option<u64>
[Output Only] A unique identifier for this resource type. The server generates this identifier.
instance_group: Option<String>
[Output Only] The URL of the Instance Group resource.
instance_lifecycle_policy: Option<InstanceGroupManagerInstanceLifecyclePolicy>
The repair policy for this managed instance group.
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. 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.
kind: Option<String>
[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.
list_managed_instances_results: Option<String>
Pagination behavior of the listManagedInstances API method for this managed instance group.
name: Option<String>
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
named_ports: Option<Vec<NamedPort>>
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
region: Option<String>
[Output Only] The URL of the region where the managed instance group resides (for regional resources).
self_link: Option<String>
[Output Only] The URL for this managed instance group. The server defines this URL.
stateful_policy: Option<StatefulPolicy>
Stateful configuration for this Instanced Group Manager
status: Option<InstanceGroupManagerStatus>
[Output Only] The status of 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.
target_size: Option<i32>
The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
update_policy: Option<InstanceGroupManagerUpdatePolicy>
The update policy for this managed instance group.
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.
zone: Option<String>
[Output Only] The URL of a zone where the managed instance group is located (for zonal resources).
Trait Implementations§
source§impl Clone for InstanceGroupManager
impl Clone for InstanceGroupManager
source§fn clone(&self) -> InstanceGroupManager
fn clone(&self) -> InstanceGroupManager
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more