InstanceGroupManager class
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.
Constructors
-
InstanceGroupManager.new({InstanceGroupManagerAllInstancesConfig? allInstancesConfig, List<
InstanceGroupManagerAutoHealingPolicy> ? autoHealingPolicies, String? baseInstanceName, String? creationTimestamp, InstanceGroupManagerActionsSummary? currentActions, String? description, DistributionPolicy? distributionPolicy, String? fingerprint, String? id, InstanceGroupManagerInstanceFlexibilityPolicy? instanceFlexibilityPolicy, String? instanceGroup, InstanceGroupManagerInstanceLifecyclePolicy? instanceLifecyclePolicy, String? instanceTemplate, String? kind, String? listManagedInstancesResults, String? name, List<NamedPort> ? namedPorts, String? region, InstanceGroupManagerResourcePolicies? resourcePolicies, bool? satisfiesPzi, bool? satisfiesPzs, String? selfLink, InstanceGroupManagerStandbyPolicy? standbyPolicy, StatefulPolicy? statefulPolicy, InstanceGroupManagerStatus? status, List<String> ? targetPools, int? targetSize, int? targetStoppedSize, int? targetSuspendedSize, InstanceGroupManagerUpdatePolicy? updatePolicy, List<InstanceGroupManagerVersion> ? versions, String? zone}) - InstanceGroupManager.fromJson(Map json_)
Properties
- allInstancesConfig ↔ InstanceGroupManagerAllInstancesConfig?
-
Specifies configuration that overrides the instance template configuration
for the group.
getter/setter pair
-
autoHealingPolicies
↔ List<
InstanceGroupManagerAutoHealingPolicy> ? -
The autohealing policy for this managed instance group.
getter/setter pair
- baseInstanceName ↔ String?
-
The base instance name is a prefix that you want to attach to the names of
all VMs in a MIG.
getter/setter pair
- creationTimestamp ↔ String?
-
The creation timestamp for this managed instance group in RFC3339 text
format.
getter/setter pair
- currentActions ↔ InstanceGroupManagerActionsSummary?
-
The list of instance actions and the number of instances in this managed
instance group that are scheduled for each of those actions.
getter/setter pair
- description ↔ String?
-
An optional description of this resource.
getter/setter pair
- distributionPolicy ↔ DistributionPolicy?
-
Policy specifying the intended distribution of managed instances across
zones in a regional managed instance group.
getter/setter pair
- fingerprint ↔ String?
-
Fingerprint of this resource.
getter/setter pair
-
fingerprintAsBytes
↔ List<
int> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
A unique identifier for this resource type.
getter/setter pair
- instanceFlexibilityPolicy ↔ InstanceGroupManagerInstanceFlexibilityPolicy?
-
Instance flexibility allowing MIG to create VMs from multiple types of
machines.
getter/setter pair
- instanceGroup ↔ String?
-
The URL of the Instance Group resource.
getter/setter pair
- instanceLifecyclePolicy ↔ InstanceGroupManagerInstanceLifecyclePolicy?
-
The repair policy for this managed instance group.
getter/setter pair
- instanceTemplate ↔ String?
-
The URL of the instance template that is specified for this managed
instance group.
getter/setter pair
- kind ↔ String?
-
The resource type, which is always compute#instanceGroupManager for
managed instance groups.
getter/setter pair
- listManagedInstancesResults ↔ String?
-
Pagination behavior of the listManagedInstances API method for this
managed instance group.
Possible string values are:
getter/setter pair
- name ↔ String?
-
The name of the managed instance group.
getter/setter pair
-
namedPorts
↔ List<
NamedPort> ? -
Named ports configured on the Instance Groups complementary to this
Instance Group Manager.
getter/setter pair
- region ↔ String?
-
The URL of the region where the managed instance group resides (for
regional resources).
getter/setter pair
- resourcePolicies ↔ InstanceGroupManagerResourcePolicies?
-
Resource policies for this managed instance group.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satisfiesPzi ↔ bool?
-
Reserved for future use.
getter/setter pair
- satisfiesPzs ↔ bool?
-
Reserved for future use.
getter/setter pair
- selfLink ↔ String?
-
The URL for this managed instance group.
getter/setter pair
- standbyPolicy ↔ InstanceGroupManagerStandbyPolicy?
-
Standby policy for stopped and suspended instances.
getter/setter pair
- statefulPolicy ↔ StatefulPolicy?
-
Stateful configuration for this Instanced Group Manager
getter/setter pair
- status ↔ InstanceGroupManagerStatus?
-
The status of this managed instance group.
getter/setter pair
-
targetPools
↔ List<
String> ? -
The URLs for all TargetPool resources to which instances in the
instanceGroup field are added.
getter/setter pair
- targetSize ↔ int?
-
The target number of running instances for this managed instance group.
getter/setter pair
- targetStoppedSize ↔ int?
-
The target number of stopped instances for this managed instance group.
getter/setter pair
- targetSuspendedSize ↔ int?
-
The target number of suspended instances for this managed instance group.
getter/setter pair
- updatePolicy ↔ InstanceGroupManagerUpdatePolicy?
-
The update policy for this managed instance group.
getter/setter pair
-
versions
↔ List<
InstanceGroupManagerVersion> ? -
Specifies the instance templates used by this managed instance group to
create instances.
getter/setter pair
- zone ↔ String?
-
The URL of a zone where the managed instance group is located (for zonal
resources).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited