WorkstationConfigWorkstationsV1beta class
Creates a new workstation configuration.
Constructors
- WorkstationConfigWorkstationsV1beta(String name, {WorkstationConfigWorkstationsV1betaArgs? args, CustomResourceOptions? options})
-
Creates a new WorkstationConfigWorkstationsV1beta.
nameThe Pulumi resource name.argsArguments used to configure this WorkstationConfigWorkstationsV1beta. The set of arguments for WorkstationConfig.optionsResource options controlling this resource's behavior.
Properties
-
annotations
↔ Output<
Map< String, String> > -
Optional. Client-specified annotations.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
conditions
↔ Output<
List< Map< >String, dynamic> > -
Status conditions describing the current resource state.
latefinal
-
container
↔ Output<
ContainerResponseWorkstationsV1beta> -
Optional. Container that runs upon startup for each workstation using this workstation configuration.
latefinal
-
createTime
↔ Output<
String> -
Time when this workstation configuration was created.
latefinal
-
degraded
↔ Output<
bool> -
Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the conditions field.
latefinal
-
deleteTime
↔ Output<
String> -
Time when this workstation configuration was soft-deleted.
latefinal
-
disableTcpConnections
↔ Output<
bool> -
Optional. 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.
latefinal
-
displayName
↔ Output<
String> -
Optional. Human-readable name for this workstation configuration.
latefinal
-
enableAuditAgent
↔ Output<
bool> -
Optional. Whether to enable Linux
auditdlogging on the workstation. When enabled, a service account must also be specified that haslogging.buckets.writepermission on the project. Operating system audit logging is distinct from Cloud Audit Logs.latefinal -
encryptionKey
↔ Output<
CustomerEncryptionKeyResponseWorkstationsV1beta> -
Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). 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 might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created.
latefinal
-
ephemeralDirectories
↔ Output<
List< Map< >String, dynamic> > -
Optional. Ephemeral directories which won't persist across workstation sessions.
latefinal
-
etag
↔ Output<
String> -
Optional. 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.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
host
↔ Output<
HostResponseWorkstationsV1beta> -
Optional. Runtime host for the workstation.
latefinal
-
id
↔ Output<
String> -
getter/setter pairinherited
-
idleTimeout
↔ Output<
String> -
Optional. Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of
"0s"indicates that Cloud Workstations VMs created with this configuration should never time out due to idleness. Provide duration terminated bysfor seconds—for example,"7200s"(2 hours). The default is"1200s"(20 minutes).latefinal - isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
labels
↔ Output<
Map< String, String> > -
Optional. Labels that are applied to the workstation configuration and that are also propagated to the underlying Compute Engine resources.
latefinal
-
location
↔ Output<
String> -
latefinal
-
name
↔ Output<
String> -
Identifier. Full name of this workstation configuration.
latefinal
-
persistentDirectories
↔ Output<
List< Map< >String, dynamic> > -
Optional. Directories to persist across workstation sessions.
latefinal
-
project
↔ Output<
String> -
latefinal
-
readinessChecks
↔ Output<
List< Map< >String, dynamic> > -
Optional. 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.
latefinal
-
reconciling
↔ Output<
bool> -
Indicates whether this workstation configuration is currently being updated to match its intended state.
latefinal
-
replicaZones
↔ Output<
List< String> > -
Optional. Immutable. 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']. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.latefinal -
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
-
runningTimeout
↔ Output<
String> -
Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by
sfor seconds—for example,"54000s"(15 hours). Defaults to"43200s"(12 hours). A value of"0s"indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than"0s"and less than"86400s"(24 hours). Warning: A value of"0s"indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.latefinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
uid
↔ Output<
String> -
A system-assigned unique identifier for this workstation configuration.
latefinal
-
updateTime
↔ Output<
String> -
Time when this workstation configuration was most recently updated.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
-
workstationClusterId
↔ Output<
String> -
latefinal
-
workstationConfigId
↔ Output<
String> -
Required. ID to use for the workstation configuration.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited