RegionInstanceGroupManagerComputeV1Args constructor
- Input<
List< ? autoHealingPolicies,InstanceGroupManagerAutoHealingPolicyComputeV1> > - Input<
String> ? baseInstanceName, - Input<
String> ? description, - Input<
DistributionPolicyComputeV1> ? distributionPolicy, - Input<
InstanceGroupManagerInstanceLifecyclePolicyComputeV1> ? instanceLifecyclePolicy, - Input<
String> ? instanceTemplate, - Input<
RegionInstanceGroupManagerListManagedInstancesResultsComputeV1> ? listManagedInstancesResults, - Input<
String> ? name, - Input<
List< ? namedPorts,NamedPortComputeV1> > - Input<
String> ? project, - required Input<
String> region, - Input<
String> ? requestId, - Input<
StatefulPolicyComputeV1> ? statefulPolicy, - Input<
List< ? targetPools,String> > - Input<
int> ? targetSize, - Input<
InstanceGroupManagerUpdatePolicyComputeV1> ? updatePolicy, - Input<
List< ? versions,InstanceGroupManagerVersionComputeV1> >
Creates a new RegionInstanceGroupManagerComputeV1Args.
autoHealingPolicies The autohealing policy for this managed instance group. You can specify only one value.
baseInstanceName 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.
description An optional description of this resource.
distributionPolicy Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
instanceLifecyclePolicy The repair policy for this managed instance group.
instanceTemplate 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.
listManagedInstancesResults Pagination behavior of the listManagedInstances API method for this managed instance group.
name The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
namedPorts Named ports configured for the Instance Groups complementary to this Instance Group Manager.
project Optional.
region Required.
requestId An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
statefulPolicy Stateful configuration for this Instanced Group Manager
targetPools 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.
targetSize 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.
updatePolicy The update policy for this managed instance group.
versions 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.
Implementation
const RegionInstanceGroupManagerComputeV1Args({
this.autoHealingPolicies,
this.baseInstanceName,
this.description,
this.distributionPolicy,
this.instanceLifecyclePolicy,
this.instanceTemplate,
this.listManagedInstancesResults,
this.name,
this.namedPorts,
this.project,
required this.region,
this.requestId,
this.statefulPolicy,
this.targetPools,
this.targetSize,
this.updatePolicy,
this.versions,
});