WorkstationState class
Input properties used for looking up and filtering Workstation resources.
Constructors
-
WorkstationState({Input<
Map< ? annotations, Input<String, String> ?>String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<Map< ? effectiveAnnotations, Input<String, String> ?>Map< ? effectiveLabels, Input<String, String> ?>Map< ? env, Input<String, String> ?>String?> ? host, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? sourceWorkstation, Input<String?> ? state, Input<String?> ? uid, Input<String?> ? workstationClusterId, Input<String?> ? workstationConfigId, Input<String?> ? workstationId}) -
Creates a new WorkstationState.
annotationsClient-specified annotations. This is distinct from labels.createTimeTime when this resource was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameHuman-readable name for this resource.effectiveAnnotationsAll of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.env'Client-specified environment variables passed to the workstation container's entrypoint.'hostHost to which clients can send HTTPS traffic that will be received by the workstation.labelsClient-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.locationThe location where the workstation parent resources reside.nameFull name of this resource.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcesourceWorkstationFull resource name of the source workstation from which the workstation's persistentstateCurrent state of the workstation.uidA system-assigned unique identified for this resource.workstationClusterIdThe ID of the parent workstation cluster.workstationConfigIdThe ID of the parent workstation cluster config.workstationIdID to use for the workstation.const -
WorkstationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Client-specified annotations. This is distinct from labels.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effectiveAnnotationsfor all of the annotations present on the resource.final -
createTime
→ Input<
String?> ? -
Time when this resource was created.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
displayName
→ Input<
String?> ? -
Human-readable name for this resource.
final
-
effectiveAnnotations
→ Input<
Map< ?String, String> ?> -
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
env
→ Input<
Map< ?String, String> ?> -
'Client-specified environment variables passed to the workstation container's entrypoint.'
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
host
→ Input<
String?> ? -
Host to which clients can send HTTPS traffic that will be received by the workstation.
Authorized traffic will be received to the workstation as HTTP on port 80.
To send traffic to a different port, clients may prefix the host with the destination port in the format "{port}-{host}".
final
-
labels
→ Input<
Map< ?String, String> ?> -
Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String?> ? -
The location where the workstation parent resources reside.
final
-
name
→ Input<
String?> ? -
Full name of this resource.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceWorkstation
→ Input<
String?> ? -
Full resource name of the source workstation from which the workstation's persistent
directories will be cloned from during creation.
final
-
state
→ Input<
String?> ? -
Current state of the workstation.
final
-
uid
→ Input<
String?> ? -
A system-assigned unique identified for this resource.
final
-
workstationClusterId
→ Input<
String?> ? -
The ID of the parent workstation cluster.
final
-
workstationConfigId
→ Input<
String?> ? -
The ID of the parent workstation cluster config.
final
-
workstationId
→ Input<
String?> ? -
ID to use for the workstation.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited