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.getWorkstation
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.
Using getWorkstation
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 getWorkstation(args: GetWorkstationArgs, opts?: InvokeOptions): Promise<GetWorkstationResult>
function getWorkstationOutput(args: GetWorkstationOutputArgs, opts?: InvokeOptions): Output<GetWorkstationResult>
def get_workstation(location: Optional[str] = None,
project: Optional[str] = None,
workstation_cluster_id: Optional[str] = None,
workstation_config_id: Optional[str] = None,
workstation_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkstationResult
def get_workstation_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
workstation_cluster_id: Optional[pulumi.Input[str]] = None,
workstation_config_id: Optional[pulumi.Input[str]] = None,
workstation_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkstationResult]
func LookupWorkstation(ctx *Context, args *LookupWorkstationArgs, opts ...InvokeOption) (*LookupWorkstationResult, error)
func LookupWorkstationOutput(ctx *Context, args *LookupWorkstationOutputArgs, opts ...InvokeOption) LookupWorkstationResultOutput
> Note: This function is named LookupWorkstation
in the Go SDK.
public static class GetWorkstation
{
public static Task<GetWorkstationResult> InvokeAsync(GetWorkstationArgs args, InvokeOptions? opts = null)
public static Output<GetWorkstationResult> Invoke(GetWorkstationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkstationResult> getWorkstation(GetWorkstationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:workstations/v1:getWorkstation
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Workstation
Cluster stringId - Workstation
Config stringId - Workstation
Id string - Project string
- Location string
- Workstation
Cluster stringId - Workstation
Config stringId - Workstation
Id string - Project string
- location String
- workstation
Cluster StringId - workstation
Config StringId - workstation
Id String - project String
- location string
- workstation
Cluster stringId - workstation
Config stringId - workstation
Id string - project string
- location str
- workstation_
cluster_ strid - workstation_
config_ strid - workstation_
id str - project str
- location String
- workstation
Cluster StringId - workstation
Config StringId - workstation
Id String - project String
getWorkstation Result
The following output properties are available:
- Annotations Dictionary<string, string>
- Optional. Client-specified annotations.
- Create
Time string - Time when this workstation was created.
- Delete
Time string - Time when this workstation was soft-deleted.
- Display
Name string - Optional. Human-readable name for this workstation.
- Env Dictionary<string, string>
- Optional. Environment variables passed to the workstation container's entrypoint.
- 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.
- Host 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}
. - Labels Dictionary<string, string>
- Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
- Name string
- Identifier. Full name of this workstation.
- Reconciling bool
- Indicates whether this workstation is currently being updated to match its intended state.
- Start
Time string - Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
- State string
- Current state of the workstation.
- Uid string
- A system-assigned unique identifier for this workstation.
- Update
Time string - Time when this workstation was most recently updated.
- Annotations map[string]string
- Optional. Client-specified annotations.
- Create
Time string - Time when this workstation was created.
- Delete
Time string - Time when this workstation was soft-deleted.
- Display
Name string - Optional. Human-readable name for this workstation.
- Env map[string]string
- Optional. Environment variables passed to the workstation container's entrypoint.
- 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.
- Host 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}
. - Labels map[string]string
- Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
- Name string
- Identifier. Full name of this workstation.
- Reconciling bool
- Indicates whether this workstation is currently being updated to match its intended state.
- Start
Time string - Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
- State string
- Current state of the workstation.
- Uid string
- A system-assigned unique identifier for this workstation.
- Update
Time string - Time when this workstation was most recently updated.
- annotations Map<String,String>
- Optional. Client-specified annotations.
- create
Time String - Time when this workstation was created.
- delete
Time String - Time when this workstation was soft-deleted.
- display
Name String - Optional. Human-readable name for this workstation.
- env Map<String,String>
- Optional. Environment variables passed to the workstation container's entrypoint.
- 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.
- host 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}
. - labels Map<String,String>
- Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
- name String
- Identifier. Full name of this workstation.
- reconciling Boolean
- Indicates whether this workstation is currently being updated to match its intended state.
- start
Time String - Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
- state String
- Current state of the workstation.
- uid String
- A system-assigned unique identifier for this workstation.
- update
Time String - Time when this workstation was most recently updated.
- annotations {[key: string]: string}
- Optional. Client-specified annotations.
- create
Time string - Time when this workstation was created.
- delete
Time string - Time when this workstation was soft-deleted.
- display
Name string - Optional. Human-readable name for this workstation.
- env {[key: string]: string}
- Optional. Environment variables passed to the workstation container's entrypoint.
- 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.
- host 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}
. - labels {[key: string]: string}
- Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
- name string
- Identifier. Full name of this workstation.
- reconciling boolean
- Indicates whether this workstation is currently being updated to match its intended state.
- start
Time string - Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
- state string
- Current state of the workstation.
- uid string
- A system-assigned unique identifier for this workstation.
- update
Time string - Time when this workstation was most recently updated.
- annotations Mapping[str, str]
- Optional. Client-specified annotations.
- create_
time str - Time when this workstation was created.
- delete_
time str - Time when this workstation was soft-deleted.
- display_
name str - Optional. Human-readable name for this workstation.
- env Mapping[str, str]
- Optional. Environment variables passed to the workstation container's entrypoint.
- 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.
- host str
- 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}
. - labels Mapping[str, str]
- Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
- name str
- Identifier. Full name of this workstation.
- reconciling bool
- Indicates whether this workstation is currently being updated to match its intended state.
- start_
time str - Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
- state str
- Current state of the workstation.
- uid str
- A system-assigned unique identifier for this workstation.
- update_
time str - Time when this workstation was most recently updated.
- annotations Map<String>
- Optional. Client-specified annotations.
- create
Time String - Time when this workstation was created.
- delete
Time String - Time when this workstation was soft-deleted.
- display
Name String - Optional. Human-readable name for this workstation.
- env Map<String>
- Optional. Environment variables passed to the workstation container's entrypoint.
- 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.
- host 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}
. - labels Map<String>
- Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
- name String
- Identifier. Full name of this workstation.
- reconciling Boolean
- Indicates whether this workstation is currently being updated to match its intended state.
- start
Time String - Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
- state String
- Current state of the workstation.
- uid String
- A system-assigned unique identifier for this workstation.
- update
Time String - Time when this workstation was most recently updated.
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