InstanceArgs

data class InstanceArgs(val capacityGb: Output<String>? = null, val description: Output<String>? = null, val directoryServices: Output<DirectoryServicesConfigArgs>? = 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 maxShareCount: Output<String>? = null, val multiShareEnabled: Output<Boolean>? = null, val networks: Output<List<NetworkConfigArgs>>? = null, val project: Output<String>? = null, val protocol: Output<InstanceProtocol>? = 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(capacityGb: Output<String>? = null, description: Output<String>? = null, directoryServices: Output<DirectoryServicesConfigArgs>? = 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, maxShareCount: Output<String>? = null, multiShareEnabled: Output<Boolean>? = null, networks: Output<List<NetworkConfigArgs>>? = null, project: Output<String>? = null, protocol: Output<InstanceProtocol>? = null, tier: Output<InstanceTier>? = null)

Functions

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

Properties

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

The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This capacity can be increased up to max_capacity_gb GB in multipliers of capacity_step_size_gb GB.

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

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

Link copied to clipboard

Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".

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 ID of the instance to create. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

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 maxShareCount: Output<String>? = null

The max number of shares allowed.

Link copied to clipboard
val multiShareEnabled: Output<Boolean>? = null

Indicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all. File-shares are added, updated and removed through the separate file-share APIs.

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 protocol: Output<InstanceProtocol>? = null

Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: NFS_V3.

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

The service tier of the instance.