WorkstationClusterState class
Input properties used for looking up and filtering WorkstationCluster resources.
Constructors
-
WorkstationClusterState({Input<
Map< ? annotations, Input<String, String> ?>List< ? conditions, Input<WorkstationClusterCondition> ?>String?> ? controlPlaneIp, Input<String?> ? createTime, Input<bool?> ? degraded, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<WorkstationClusterDomainConfig?> ? domainConfig, Input<Map< ? effectiveAnnotations, Input<String, String> ?>Map< ? effectiveLabels, Input<String, String> ?>String?> ? etag, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? network, Input<WorkstationClusterPrivateClusterConfig?> ? privateClusterConfig, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? subnetwork, Input<Map< ? tags, Input<String, String> ?>String?> ? uid, Input<String?> ? workstationAuthorizationUrl, Input<String?> ? workstationClusterId, Input<String?> ? workstationLaunchUrl}) -
Creates a new WorkstationClusterState.
annotationsClient-specified annotations. This is distinct from labels.conditionsStatus conditions describing the current resource state.controlPlaneIpThe private IP address of the control plane for this workstation cluster.createTimeTime when this resource was created.degradedWhether this resource is in degraded mode, in which case it may require user action to restore full functionality.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameHuman-readable name for this resource.domainConfigConfiguration options for a custom domain.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.etagChecksum computed by the server.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 cluster should reside.nameThe name of the cluster resource.networkThe relative resource name of the VPC network on which the instance can be accessed.privateClusterConfigConfiguration for private cluster.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcesubnetworkName of the Compute Engine subnetwork in which instances associated with this cluster will be created.tagsResource manager tags bound to this resource.uidThe system-generated UID of the resource.workstationAuthorizationUrlSpecifies the redirect URL for unauthorized requests received by workstation VMs in this cluster.workstationClusterIdID to use for the workstation cluster.workstationLaunchUrlSpecifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL.const -
WorkstationClusterState.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 -
conditions
→ Input<
List< ?WorkstationClusterCondition> ?> -
Status conditions describing the current resource state.
Structure is documented below.
final
-
controlPlaneIp
→ Input<
String?> ? -
The private IP address of the control plane for this workstation cluster.
Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
final
-
createTime
→ Input<
String?> ? -
Time when this resource was created.
final
-
degraded
→ Input<
bool?> ? -
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.
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
-
domainConfig
→ Input<
WorkstationClusterDomainConfig?> ? -
Configuration options for a custom domain.
Structure is documented below.
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
-
etag
→ Input<
String?> ? -
Checksum computed by the server.
May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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 cluster should reside.
final
-
name
→ Input<
String?> ? -
The name of the cluster resource.
final
-
network
→ Input<
String?> ? -
The relative resource name of the VPC network on which the instance can be accessed.
It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}".
final
-
privateClusterConfig
→ Input<
WorkstationClusterPrivateClusterConfig?> ? -
Configuration for private cluster.
Structure is documented below.
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
-
subnetwork
→ Input<
String?> ? -
Name of the Compute Engine subnetwork in which instances associated with this cluster will be created.
Must be part of the subnetwork specified for this cluster.
final
-
Resource manager tags bound to this resource.
For example:
"123/environment": "production",
"123/costCenter": "marketing"
final
-
uid
→ Input<
String?> ? -
The system-generated UID of the resource.
final
-
workstationAuthorizationUrl
→ Input<
String?> ? -
Specifies the redirect URL for unauthorized requests received by workstation VMs in this cluster.
Redirects to this endpoint will send a base64 encoded
statequery param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token usingGenerateAccessTokenand redirecting back to the original hostname with the token.final -
workstationClusterId
→ Input<
String?> ? -
ID to use for the workstation cluster.
final
-
workstationLaunchUrl
→ Input<
String?> ? -
Specifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL.
Requests redirected to the launch endpoint will be sent with a
workstationquery parameter containing the full workstation resource. The launch endpoint is responsible for starting the workstation, polling it until it reachesSTATE_RUNNING, and then issuing a redirect to the workstation's host URL.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