WorkstationConfigArgs

data class WorkstationConfigArgs(val annotations: Output<Map<String, String>>? = null, val container: Output<ContainerArgs>? = null, val displayName: Output<String>? = null, val enableAuditAgent: Output<Boolean>? = null, val encryptionKey: Output<CustomerEncryptionKeyArgs>? = null, val etag: Output<String>? = null, val host: Output<HostArgs>? = null, val idleTimeout: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val persistentDirectories: Output<List<PersistentDirectoryArgs>>? = null, val project: Output<String>? = null, val readinessChecks: Output<List<ReadinessCheckArgs>>? = null, val runningTimeout: Output<String>? = null, val workstationClusterId: Output<String>? = null, val workstationConfigId: Output<String>? = null) : ConvertibleToJava<WorkstationConfigArgs>

Creates a new workstation configuration.

Constructors

Link copied to clipboard
fun WorkstationConfigArgs(annotations: Output<Map<String, String>>? = null, container: Output<ContainerArgs>? = null, displayName: Output<String>? = null, enableAuditAgent: Output<Boolean>? = null, encryptionKey: Output<CustomerEncryptionKeyArgs>? = null, etag: Output<String>? = null, host: Output<HostArgs>? = null, idleTimeout: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, persistentDirectories: Output<List<PersistentDirectoryArgs>>? = null, project: Output<String>? = null, readinessChecks: Output<List<ReadinessCheckArgs>>? = null, runningTimeout: Output<String>? = null, workstationClusterId: Output<String>? = null, workstationConfigId: Output<String>? = null)

Functions

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

Properties

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

Client-specified annotations.

Link copied to clipboard
val container: Output<ContainerArgs>? = null

Container that will be run for each workstation using this configuration when that workstation is started.

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

Human-readable name for this resource.

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

Whether to enable linux auditd logging on the workstation. When enabled, a service account must also be specified that has logging.buckets.write permission on the project. Operating system audit logging is distinct from Cloud Audit Logs.

Link copied to clipboard

Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key. If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours. Immutable after the workstation configuration is created.

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

Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.

Link copied to clipboard
val host: Output<HostArgs>? = null

Runtime host for the workstation.

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

How long to wait before automatically stopping an instance that hasn't received any user traffic. A value of 0 indicates that this instance should never time out due to idleness. Defaults to 20 minutes.

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

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

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

Full name of this resource.

Link copied to clipboard

Directories to persist across workstation sessions.

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

Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks return 200 status codes.

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

How long to wait before automatically stopping a workstation after it started. A value of 0 indicates that workstations using this configuration should never time out. Must be greater than 0 and less than 24 hours if encryption_key is set. Defaults to 12 hours.

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

Required. ID to use for the workstation configuration.