InstanceGroupState class
Input properties used for looking up and filtering InstanceGroup resources.
Constructors
-
InstanceGroupState({Input<
String?> ? deletionPolicy, Input<String?> ? description, Input<List< ? instances, Input<String> ?>String?> ? name, Input<List< ? namedPorts, Input<InstanceGroupNamedPort> ?>String?> ? network, Input<String?> ? project, Input<String?> ? selfLink, Input<int?> ? size, Input<String?> ? zone}) -
Creates a new InstanceGroupState.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionAn optional textual description of the instanceinstancesThe list of instances in the group, inselfLinkformat.nameThe name of the instance group. Must be 1-63namedPortsThe named port configuration. See the section belownetworkThe URL of the network the instance group is in. IfprojectThe ID of the project in which the resource belongs. If itselfLinkThe URI of the created resource.sizeThe number of instances in the group.zoneThe 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
selfLinkformat. 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
networknorinstancesis 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
-
selfLink
→ Input<
String?> ? -
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