Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.workstations/v1.getWorkstationCluster
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns the requested workstation cluster.
Using getWorkstationCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkstationCluster(args: GetWorkstationClusterArgs, opts?: InvokeOptions): Promise<GetWorkstationClusterResult>
function getWorkstationClusterOutput(args: GetWorkstationClusterOutputArgs, opts?: InvokeOptions): Output<GetWorkstationClusterResult>
def get_workstation_cluster(location: Optional[str] = None,
project: Optional[str] = None,
workstation_cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkstationClusterResult
def get_workstation_cluster_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
workstation_cluster_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkstationClusterResult]
func LookupWorkstationCluster(ctx *Context, args *LookupWorkstationClusterArgs, opts ...InvokeOption) (*LookupWorkstationClusterResult, error)
func LookupWorkstationClusterOutput(ctx *Context, args *LookupWorkstationClusterOutputArgs, opts ...InvokeOption) LookupWorkstationClusterResultOutput
> Note: This function is named LookupWorkstationCluster
in the Go SDK.
public static class GetWorkstationCluster
{
public static Task<GetWorkstationClusterResult> InvokeAsync(GetWorkstationClusterArgs args, InvokeOptions? opts = null)
public static Output<GetWorkstationClusterResult> Invoke(GetWorkstationClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkstationClusterResult> getWorkstationCluster(GetWorkstationClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:workstations/v1:getWorkstationCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Workstation
Cluster stringId - Project string
- Location string
- Workstation
Cluster stringId - Project string
- location String
- workstation
Cluster StringId - project String
- location string
- workstation
Cluster stringId - project string
- location str
- workstation_
cluster_ strid - project str
- location String
- workstation
Cluster StringId - project String
getWorkstationCluster Result
The following output properties are available:
- Annotations Dictionary<string, string>
- Optional. Client-specified annotations.
- Conditions
List<Pulumi.
Google Native. Workstations. V1. Outputs. Status Response> - Status conditions describing the workstation cluster's current state.
- Control
Plane stringIp - 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.
- Create
Time string - Time when this workstation cluster was created.
- Degraded bool
- Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.
- Delete
Time string - Time when this workstation cluster was soft-deleted.
- Display
Name string - Optional. Human-readable name for this workstation cluster.
- Etag 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.
- Labels Dictionary<string, string>
- Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
- Name string
- Identifier. Full name of this workstation cluster.
- Network string
- Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
- Private
Cluster Pulumi.Config Google Native. Workstations. V1. Outputs. Private Cluster Config Response - Optional. Configuration for private workstation cluster.
- Reconciling bool
- Indicates whether this workstation cluster is currently being updated to match its intended state.
- Subnetwork string
- Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
- Uid string
- A system-assigned unique identifier for this workstation cluster.
- Update
Time string - Time when this workstation cluster was most recently updated.
- Annotations map[string]string
- Optional. Client-specified annotations.
- Conditions
[]Status
Response - Status conditions describing the workstation cluster's current state.
- Control
Plane stringIp - 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.
- Create
Time string - Time when this workstation cluster was created.
- Degraded bool
- Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.
- Delete
Time string - Time when this workstation cluster was soft-deleted.
- Display
Name string - Optional. Human-readable name for this workstation cluster.
- Etag 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.
- Labels map[string]string
- Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
- Name string
- Identifier. Full name of this workstation cluster.
- Network string
- Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
- Private
Cluster PrivateConfig Cluster Config Response - Optional. Configuration for private workstation cluster.
- Reconciling bool
- Indicates whether this workstation cluster is currently being updated to match its intended state.
- Subnetwork string
- Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
- Uid string
- A system-assigned unique identifier for this workstation cluster.
- Update
Time string - Time when this workstation cluster was most recently updated.
- annotations Map<String,String>
- Optional. Client-specified annotations.
- conditions
List<Status
Response> - Status conditions describing the workstation cluster's current state.
- control
Plane StringIp - 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.
- create
Time String - Time when this workstation cluster was created.
- degraded Boolean
- Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.
- delete
Time String - Time when this workstation cluster was soft-deleted.
- display
Name String - Optional. Human-readable name for this workstation cluster.
- etag 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.
- labels Map<String,String>
- Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
- name String
- Identifier. Full name of this workstation cluster.
- network String
- Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
- private
Cluster PrivateConfig Cluster Config Response - Optional. Configuration for private workstation cluster.
- reconciling Boolean
- Indicates whether this workstation cluster is currently being updated to match its intended state.
- subnetwork String
- Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
- uid String
- A system-assigned unique identifier for this workstation cluster.
- update
Time String - Time when this workstation cluster was most recently updated.
- annotations {[key: string]: string}
- Optional. Client-specified annotations.
- conditions
Status
Response[] - Status conditions describing the workstation cluster's current state.
- control
Plane stringIp - 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.
- create
Time string - Time when this workstation cluster was created.
- degraded boolean
- Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.
- delete
Time string - Time when this workstation cluster was soft-deleted.
- display
Name string - Optional. Human-readable name for this workstation cluster.
- etag 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.
- labels {[key: string]: string}
- Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
- name string
- Identifier. Full name of this workstation cluster.
- network string
- Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
- private
Cluster PrivateConfig Cluster Config Response - Optional. Configuration for private workstation cluster.
- reconciling boolean
- Indicates whether this workstation cluster is currently being updated to match its intended state.
- subnetwork string
- Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
- uid string
- A system-assigned unique identifier for this workstation cluster.
- update
Time string - Time when this workstation cluster was most recently updated.
- annotations Mapping[str, str]
- Optional. Client-specified annotations.
- conditions
Sequence[Status
Response] - Status conditions describing the workstation cluster's current state.
- control_
plane_ strip - 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.
- create_
time str - Time when this workstation cluster was created.
- degraded bool
- Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.
- delete_
time str - Time when this workstation cluster was soft-deleted.
- display_
name str - Optional. Human-readable name for this workstation cluster.
- etag str
- 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.
- labels Mapping[str, str]
- Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
- name str
- Identifier. Full name of this workstation cluster.
- network str
- Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
- private_
cluster_ Privateconfig Cluster Config Response - Optional. Configuration for private workstation cluster.
- reconciling bool
- Indicates whether this workstation cluster is currently being updated to match its intended state.
- subnetwork str
- Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
- uid str
- A system-assigned unique identifier for this workstation cluster.
- update_
time str - Time when this workstation cluster was most recently updated.
- annotations Map<String>
- Optional. Client-specified annotations.
- conditions List<Property Map>
- Status conditions describing the workstation cluster's current state.
- control
Plane StringIp - 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.
- create
Time String - Time when this workstation cluster was created.
- degraded Boolean
- Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.
- delete
Time String - Time when this workstation cluster was soft-deleted.
- display
Name String - Optional. Human-readable name for this workstation cluster.
- etag 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.
- labels Map<String>
- Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
- name String
- Identifier. Full name of this workstation cluster.
- network String
- Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
- private
Cluster Property MapConfig - Optional. Configuration for private workstation cluster.
- reconciling Boolean
- Indicates whether this workstation cluster is currently being updated to match its intended state.
- subnetwork String
- Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
- uid String
- A system-assigned unique identifier for this workstation cluster.
- update
Time String - Time when this workstation cluster was most recently updated.
Supporting Types
PrivateClusterConfigResponse
- Allowed
Projects List<string> - Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
- Cluster
Hostname string - Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
- Enable
Private boolEndpoint - Immutable. Whether Workstations endpoint is private.
- Service
Attachment stringUri - Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.
- Allowed
Projects []string - Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
- Cluster
Hostname string - Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
- Enable
Private boolEndpoint - Immutable. Whether Workstations endpoint is private.
- Service
Attachment stringUri - Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.
- allowed
Projects List<String> - Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
- cluster
Hostname String - Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
- enable
Private BooleanEndpoint - Immutable. Whether Workstations endpoint is private.
- service
Attachment StringUri - Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.
- allowed
Projects string[] - Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
- cluster
Hostname string - Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
- enable
Private booleanEndpoint - Immutable. Whether Workstations endpoint is private.
- service
Attachment stringUri - Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.
- allowed_
projects Sequence[str] - Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
- cluster_
hostname str - Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
- enable_
private_ boolendpoint - Immutable. Whether Workstations endpoint is private.
- service_
attachment_ struri - Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.
- allowed
Projects List<String> - Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
- cluster
Hostname String - Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
- enable
Private BooleanEndpoint - Immutable. Whether Workstations endpoint is private.
- service
Attachment StringUri - Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.
StatusResponse
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<Immutable
Dictionary<string, string>> - A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi