GetRegionInstanceGroupManagerComputeBetaResult class
Result data returned by getRegionInstanceGroupManager.
Constructors
-
GetRegionInstanceGroupManagerComputeBetaResult({required InstanceGroupManagerAllInstancesConfigResponseComputeBeta allInstancesConfig, required List<
InstanceGroupManagerAutoHealingPolicyResponseComputeBeta> autoHealingPolicies, required String baseInstanceName, required String creationTimestamp, required InstanceGroupManagerActionsSummaryResponseComputeBeta currentActions, required String description, required DistributionPolicyResponseComputeBeta distributionPolicy, required String failoverAction, required String fingerprint, required InstanceGroupManagerInstanceFlexibilityPolicyResponseComputeBeta instanceFlexibilityPolicy, required String instanceGroup, required InstanceGroupManagerInstanceLifecyclePolicyResponseComputeBeta instanceLifecyclePolicy, required String instanceTemplate, required String kind, required String listManagedInstancesResults, required String name, required List<NamedPortResponseComputeBeta> namedPorts, required String region, required String selfLink, required String serviceAccount, required InstanceGroupManagerStandbyPolicyResponseComputeBeta standbyPolicy, required StatefulPolicyResponseComputeBeta statefulPolicy, required InstanceGroupManagerStatusResponseComputeBeta status, required List<String> targetPools, required int targetSize, required int targetStoppedSize, required int targetSuspendedSize, required InstanceGroupManagerUpdatePolicyResponseComputeBeta updatePolicy, required List<InstanceGroupManagerVersionResponseComputeBeta> versions, required String zone}) -
Creates a new GetRegionInstanceGroupManagerComputeBetaResult.
allInstancesConfigSpecifies configuration that overrides the instance template configuration for the group.autoHealingPoliciesThe autohealing policy for this managed instance group. You can specify only one value.baseInstanceNameThe 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.creationTimestampThe creation timestamp for this managed instance group in RFC3339 text format.currentActionsThe list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.descriptionAn optional description of this resource.distributionPolicyPolicy specifying the intended distribution of managed instances across zones in a regional managed instance group.failoverActionThe action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.fingerprintFingerprint 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.instanceFlexibilityPolicyInstance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.instanceGroupThe URL of the Instance Group resource.instanceLifecyclePolicyThe repair policy for this managed instance group.instanceTemplateThe 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.kindThe resource type, which is always compute#instanceGroupManager for managed instance groups.listManagedInstancesResultsPagination behavior of the listManagedInstances API method for this managed instance group.nameThe name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.namedPortsNamed ports configured for the Instance Groups complementary to this Instance Group Manager.regionThe URL of the region where the managed instance group resides (for regional resources).selfLinkThe URL for this managed instance group. The server defines this URL.serviceAccountThe service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.standbyPolicyStandby policy for stopped and suspended instances.statefulPolicyStateful configuration for this Instanced Group ManagerstatusThe status of this managed instance group.targetPoolsThe 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.targetSizeThe 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.targetStoppedSizeThe target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.targetSuspendedSizeThe target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.updatePolicyThe update policy for this managed instance group.versionsSpecifies 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.zoneThe URL of a zone where the managed instance group is located (for zonal resources).const -
GetRegionInstanceGroupManagerComputeBetaResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- allInstancesConfig → InstanceGroupManagerAllInstancesConfigResponseComputeBeta
-
Specifies configuration that overrides the instance template configuration for the group.
final
-
autoHealingPolicies
→ List<
InstanceGroupManagerAutoHealingPolicyResponseComputeBeta> -
The autohealing policy for this managed instance group. You can specify only one value.
final
- baseInstanceName → 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.
final
- creationTimestamp → String
-
The creation timestamp for this managed instance group in RFC3339 text format.
final
- currentActions → InstanceGroupManagerActionsSummaryResponseComputeBeta
-
The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
final
- description → String
-
An optional description of this resource.
final
- distributionPolicy → DistributionPolicyResponseComputeBeta
-
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
final
- failoverAction → String
-
The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
final
- fingerprint → 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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceFlexibilityPolicy → InstanceGroupManagerInstanceFlexibilityPolicyResponseComputeBeta
-
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
final
- instanceGroup → String
-
The URL of the Instance Group resource.
final
- instanceLifecyclePolicy → InstanceGroupManagerInstanceLifecyclePolicyResponseComputeBeta
-
The repair policy for this managed instance group.
final
- instanceTemplate → 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.
final
- kind → String
-
The resource type, which is always compute#instanceGroupManager for managed instance groups.
final
- listManagedInstancesResults → String
-
Pagination behavior of the listManagedInstances API method for this managed instance group.
final
- name → String
-
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
final
-
namedPorts
→ List<
NamedPortResponseComputeBeta> -
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
final
- region → String
-
The URL of the region where the managed instance group resides (for regional resources).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink → String
-
The URL for this managed instance group. The server defines this URL.
final
- serviceAccount → String
-
The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
final
- standbyPolicy → InstanceGroupManagerStandbyPolicyResponseComputeBeta
-
Standby policy for stopped and suspended instances.
final
- statefulPolicy → StatefulPolicyResponseComputeBeta
-
Stateful configuration for this Instanced Group Manager
final
- status → InstanceGroupManagerStatusResponseComputeBeta
-
The status of this managed instance group.
final
-
targetPools
→ List<
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.
final
- targetSize → int
-
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.
final
- targetStoppedSize → int
-
The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
final
- targetSuspendedSize → int
-
The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
final
- updatePolicy → InstanceGroupManagerUpdatePolicyResponseComputeBeta
-
The update policy for this managed instance group.
final
-
versions
→ List<
InstanceGroupManagerVersionResponseComputeBeta> -
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.
final
- zone → String
-
The URL of a zone where the managed instance group is located (for zonal resources).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited