WorkstationConfigState constructor
- Input<
List< ? allowedPorts,WorkstationConfigAllowedPort> ?> - Input<
Map< ? annotations,String, String> ?> - Input<
List< ? conditions,WorkstationConfigCondition> ?> - Input<
WorkstationConfigContainer?> ? container, - Input<
String?> ? createTime, - Input<
bool?> ? degraded, - Input<
String?> ? deletionPolicy, - Input<
bool?> ? disableTcpConnections, - Input<
String?> ? displayName, - Input<
Map< ? effectiveAnnotations,String, String> ?> - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
bool?> ? enableAuditAgent, - Input<
WorkstationConfigEncryptionKey?> ? encryptionKey, - Input<
List< ? ephemeralDirectories,WorkstationConfigEphemeralDirectory> ?> - Input<
String?> ? etag, - Input<
WorkstationConfigHost?> ? host, - Input<
String?> ? idleAction, - Input<
String?> ? idleTimeout, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? location, - Input<
int?> ? maxUsableWorkstations, - Input<
String?> ? name, - Input<
List< ? persistentDirectories,WorkstationConfigPersistentDirectory> ?> - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
List< ? readinessChecks,WorkstationConfigReadinessCheck> ?> - Input<
List< ? replicaZones,String> ?> - Input<
String?> ? runningTimeout, - Input<
String?> ? uid, - Input<
String?> ? workstationClusterId, - Input<
String?> ? workstationConfigId,
Creates a new WorkstationConfigState.
allowedPorts A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
annotations Client-specified annotations. This is distinct from labels.
conditions Status conditions describing the current resource state.
container Container that will be run for each workstation using this configuration when that workstation is started.
createTime Time when this resource was created.
degraded Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
disableTcpConnections Disables support for plain TCP connections in the workstation. By default the service supports TCP connections via a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain tcp connections, such as ssh. When enabled, all communication must occur over https or wss.
displayName Human-readable name for this resource.
effectiveAnnotations All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
enableAuditAgent 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.
encryptionKey Encrypts resources of this workstation configuration using a customer-managed encryption key.
ephemeralDirectories Ephemeral directories which won't persist across workstation sessions.
etag Checksum computed by the server.
host Runtime host for a workstation.
idleAction (Optional, Beta)
idleTimeout How long to wait before automatically stopping an instance that hasn't recently received any user traffic. A value of 0 indicates that this instance should never time out from idleness. Defaults to 20 minutes.
labels Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.
location The location where the workstation cluster config should reside.
maxUsableWorkstations Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
name Full name of this resource.
persistentDirectories Directories to persist across workstation sessions.
project The ID of the project in which the resource belongs.
pulumiLabels The combination of labels configured directly on the resource
readinessChecks Readiness checks to be performed on a workstation.
replicaZones Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, ['us-central1-a', 'us-central1-f'].
runningTimeout How long to wait before automatically stopping a workstation after it was started. A value of 0 indicates that workstations using this configuration should never time out from running duration. Must be greater than 0 and less than 24 hours if encryptionKey is set. Defaults to 12 hours.
uid The system-generated UID of the resource.
workstationClusterId The ID of the parent workstation cluster.
workstationConfigId The ID to be assigned to the workstation cluster config.
Implementation
const WorkstationConfigState({
this.allowedPorts,
this.annotations,
this.conditions,
this.container,
this.createTime,
this.degraded,
this.deletionPolicy,
this.disableTcpConnections,
this.displayName,
this.effectiveAnnotations,
this.effectiveLabels,
this.enableAuditAgent,
this.encryptionKey,
this.ephemeralDirectories,
this.etag,
this.host,
this.idleAction,
this.idleTimeout,
this.labels,
this.location,
this.maxUsableWorkstations,
this.name,
this.persistentDirectories,
this.project,
this.pulumiLabels,
this.readinessChecks,
this.replicaZones,
this.runningTimeout,
this.uid,
this.workstationClusterId,
this.workstationConfigId,
});