1. Packages
  2. Google Cloud Native
  3. API Docs
  4. workstations
  5. workstations/v1
  6. getWorkstation

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-native logo

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:

    getWorkstation Result

    The following output properties are available:

    Annotations Dictionary<string, string>
    Optional. Client-specified annotations.
    CreateTime string
    Time when this workstation was created.
    DeleteTime string
    Time when this workstation was soft-deleted.
    DisplayName 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.
    StartTime 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.
    UpdateTime string
    Time when this workstation was most recently updated.
    Annotations map[string]string
    Optional. Client-specified annotations.
    CreateTime string
    Time when this workstation was created.
    DeleteTime string
    Time when this workstation was soft-deleted.
    DisplayName 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.
    StartTime 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.
    UpdateTime string
    Time when this workstation was most recently updated.
    annotations Map<String,String>
    Optional. Client-specified annotations.
    createTime String
    Time when this workstation was created.
    deleteTime String
    Time when this workstation was soft-deleted.
    displayName 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.
    startTime 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.
    updateTime String
    Time when this workstation was most recently updated.
    annotations {[key: string]: string}
    Optional. Client-specified annotations.
    createTime string
    Time when this workstation was created.
    deleteTime string
    Time when this workstation was soft-deleted.
    displayName 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.
    startTime 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.
    updateTime 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.
    createTime String
    Time when this workstation was created.
    deleteTime String
    Time when this workstation was soft-deleted.
    displayName 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.
    startTime 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.
    updateTime String
    Time when this workstation was most recently updated.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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