InstanceGroupState class

Input properties used for looking up and filtering InstanceGroup resources.

Constructors

InstanceGroupState({Input<String?>? deletionPolicy, Input<String?>? description, Input<List<String>?>? instances, Input<String?>? name, Input<List<InstanceGroupNamedPort>?>? namedPorts, Input<String?>? network, Input<String?>? project, Input<String?>? selfLink, Input<int?>? size, Input<String?>? zone})
Creates a new InstanceGroupState. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description An optional textual description of the instance instances The list of instances in the group, in selfLink format. name The name of the instance group. Must be 1-63 namedPorts The named port configuration. See the section below network The URL of the network the instance group is in. If project The ID of the project in which the resource belongs. If it selfLink The URI of the created resource. size The number of instances in the group. zone The zone that this instance group should be created in.
const
InstanceGroupState.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An optional textual description of the instance group.
final
hashCode → int
The hash code for this object.
no setterinherited
instances → Input<List<String>?>?
The list of instances in the group, in selfLink format. When adding instances they must all be in the same network and zone as the instance group.
final
name → Input<String?>?
The name of the instance group. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.
final
namedPorts → Input<List<InstanceGroupNamedPort>?>?
The named port configuration. See the section below for details on configuration. Structure is documented below.
final
network → Input<String?>?
The URL of the network the instance group is in. If this is different from the network where the instances are in, the creation fails. Defaults to the network where the instances are in (if neither network nor instances is specified, this field will be blank).
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
The URI of the created resource.
final
size → Input<int?>?
The number of instances in the group.
final
zone → Input<String?>?
The zone that this instance group should be created in.
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