InstanceGroupArgs

data class InstanceGroupArgs(val description: Output<String>? = null, val name: Output<String>? = null, val namedPorts: Output<List<NamedPortArgs>>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val zone: Output<String>? = null) : ConvertibleToJava<InstanceGroupArgs>

Creates an instance group in the specified project using the parameters that are included in the request.

Constructors

Link copied to clipboard
fun InstanceGroupArgs(description: Output<String>? = null, name: Output<String>? = null, namedPorts: Output<List<NamedPortArgs>>? = null, project: Output<String>? = null, requestId: Output<String>? = null, zone: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstanceGroupArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

An optional description of this resource. Provide this property when you create the resource.

Link copied to clipboard
val name: Output<String>? = null

The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.

Link copied to clipboard
val namedPorts: Output<List<NamedPortArgs>>? = null

Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: {name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082} Named ports apply to all instances in this instance group.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

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).

Link copied to clipboard
val zone: Output<String>? = null