Class InstanceGroupState
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceGroupState : ResourceArgs
Constructors
View SourceInstanceGroupState()
Declaration
public InstanceGroupState()
Properties
View SourceDescription
An optional textual description of the instance group.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Instances
List of instances in the group. They should be given as self_link URLs. When adding instances they must all be in the same network and zone as the instance group.
Declaration
public InputList<string> Instances { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Name
The name which the port will be mapped to.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamedPorts
The named port configuration. See the section below for details on configuration.
Declaration
public InputList<InstanceGroupNamedPortGetArgs> NamedPorts { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<InstanceGroupNamedPortGetArgs> |
Network
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).
Declaration
public Input<string> Network { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SelfLink
The URI of the created resource.
Declaration
public Input<string> SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
The number of instances in the group.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Zone
The zone that this instance group should be created in.
Declaration
public Input<string> Zone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |