RegionInstanceGroupManagerState constructor

const RegionInstanceGroupManagerState({
  1. Input<RegionInstanceGroupManagerAllInstancesConfig?>? allInstancesConfig,
  2. Input<RegionInstanceGroupManagerAutoHealingPolicies?>? autoHealingPolicies,
  3. Input<String?>? baseInstanceName,
  4. Input<String?>? creationTimestamp,
  5. Input<String?>? deletionPolicy,
  6. Input<String?>? description,
  7. Input<String?>? distributionPolicyTargetShape,
  8. Input<List<String>?>? distributionPolicyZones,
  9. Input<String?>? fingerprint,
  10. Input<RegionInstanceGroupManagerInstanceFlexibilityPolicy?>? instanceFlexibilityPolicy,
  11. Input<String?>? instanceGroup,
  12. Input<int?>? instanceGroupManagerId,
  13. Input<RegionInstanceGroupManagerInstanceLifecyclePolicy?>? instanceLifecyclePolicy,
  14. Input<String?>? listManagedInstancesResults,
  15. Input<String?>? name,
  16. Input<List<RegionInstanceGroupManagerNamedPort>?>? namedPorts,
  17. Input<RegionInstanceGroupManagerParams?>? params,
  18. Input<String?>? project,
  19. Input<String?>? region,
  20. Input<RegionInstanceGroupManagerResourcePolicies?>? resourcePolicies,
  21. Input<String?>? selfLink,
  22. Input<RegionInstanceGroupManagerStandbyPolicy?>? standbyPolicy,
  23. Input<List<RegionInstanceGroupManagerStatefulDisk>?>? statefulDisks,
  24. Input<List<RegionInstanceGroupManagerStatefulExternalIp>?>? statefulExternalIps,
  25. Input<List<RegionInstanceGroupManagerStatefulInternalIp>?>? statefulInternalIps,
  26. Input<List<RegionInstanceGroupManagerStatus>?>? statuses,
  27. Input<List<String>?>? targetPools,
  28. Input<int?>? targetSize,
  29. Input<List<RegionInstanceGroupManagerTargetSizePolicy>?>? targetSizePolicies,
  30. Input<int?>? targetStoppedSize,
  31. Input<int?>? targetSuspendedSize,
  32. Input<RegionInstanceGroupManagerUpdatePolicy?>? updatePolicy,
  33. Input<List<RegionInstanceGroupManagerVersion>?>? versions,
  34. Input<bool?>? waitForInstances,
  35. Input<String?>? waitForInstancesStatus,
})

Creates a new RegionInstanceGroupManagerState. allInstancesConfig Properties to set on all instances in the group. After setting autoHealingPolicies The autohealing policies for this managed instance baseInstanceName The base instance name to use for creationTimestamp Creation timestamp in RFC3339 text format. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description An optional textual description of the instance distributionPolicyTargetShape The shape to which the group converges either proactively or on resize events (depending on the value set in update_policy.0.instance_redistribution_type). For more information see the official documentation. distributionPolicyZones The distribution policy for this managed instance fingerprint The fingerprint of the instance group manager. instanceFlexibilityPolicy The flexibility policy for managed instance group. Instance flexibility allows managed instance group to create VMs from multiple types of machines. Instance flexibility configuration on managed instance group overrides instance template configuration. Structure is documented below. instanceGroup The full URL of the instance group created by the manager. instanceGroupManagerId The unique identifier number for the resource. This identifier is defined by the server. instanceLifecyclePolicy The instance lifecycle policy for this managed instance group. listManagedInstancesResults Pagination behavior of the listManagedInstances API name The name of the instance group manager. Must be 1-63 namedPorts The named port configuration. See the section below params ) Input only additional params for instance group manager creation. Structure is documented below. For more information, see API. project The ID of the project in which the resource belongs. If it region The region where the managed instance group resides. If not provided, the provider region is used. resourcePolicies Resource policies for this managed instance group. Structure is documented below. selfLink The URL of the created resource. standbyPolicy The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the official documentation. statefulDisks Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the official documentation. Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the updatePolicy. statefulExternalIps External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below. statefulInternalIps Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below. statuses The status of this managed instance group. targetPools The full URL of all target pools to which new targetSize The target number of running instances for this managed targetSizePolicies The policy that specifies how the MIG creates its VMs to achieve the target size. Structure is documented below. targetStoppedSize The target number of stopped instances for this managed instance group. targetSuspendedSize The target number of suspended instances for this managed instance group. updatePolicy The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API versions Application versions managed by this instance group. Each waitForInstances Whether to wait for all instances to be created/updated before waitForInstancesStatus When used with waitForInstances it specifies the status to wait for.

Implementation

const RegionInstanceGroupManagerState({
  this.allInstancesConfig,
  this.autoHealingPolicies,
  this.baseInstanceName,
  this.creationTimestamp,
  this.deletionPolicy,
  this.description,
  this.distributionPolicyTargetShape,
  this.distributionPolicyZones,
  this.fingerprint,
  this.instanceFlexibilityPolicy,
  this.instanceGroup,
  this.instanceGroupManagerId,
  this.instanceLifecyclePolicy,
  this.listManagedInstancesResults,
  this.name,
  this.namedPorts,
  this.params,
  this.project,
  this.region,
  this.resourcePolicies,
  this.selfLink,
  this.standbyPolicy,
  this.statefulDisks,
  this.statefulExternalIps,
  this.statefulInternalIps,
  this.statuses,
  this.targetPools,
  this.targetSize,
  this.targetSizePolicies,
  this.targetStoppedSize,
  this.targetSuspendedSize,
  this.updatePolicy,
  this.versions,
  this.waitForInstances,
  this.waitForInstancesStatus,
});