InstanceArgs

data class InstanceArgs(val description: Output<String>? = null, val etag: Output<String>? = null, val fileShares: Output<List<FileShareConfigArgs>>? = null, val instanceId: Output<String>? = null, val kmsKeyName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val networks: Output<List<NetworkConfigArgs>>? = null, val project: Output<String>? = null, val tier: Output<InstanceTier>? = null) : ConvertibleToJava<InstanceArgs>

Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun InstanceArgs(description: Output<String>? = null, etag: Output<String>? = null, fileShares: Output<List<FileShareConfigArgs>>? = null, instanceId: Output<String>? = null, kmsKeyName: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, networks: Output<List<NetworkConfigArgs>>? = null, project: Output<String>? = null, tier: Output<InstanceTier>? = null)

Functions

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

Properties

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

The description of the instance (2048 characters or less).

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

Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.

Link copied to clipboard
val fileShares: Output<List<FileShareConfigArgs>>? = null

File system shares on the instance. For this version, only a single file share is supported.

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

Required. The name of the instance to create. The name must be unique for the specified project and location.

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

KMS key name used for data encryption.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Resource labels to represent user provided metadata.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val networks: Output<List<NetworkConfigArgs>>? = null

VPC networks to which the instance is connected. For this version, only a single network is supported.

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

The service tier of the instance.