1. Packages
  2. Azure Native
  3. API Docs
  4. labservices
  5. getGlobalUserEnvironment
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.labservices.getGlobalUserEnvironment

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Gets the virtual machine details Azure REST API version: 2018-10-15.

    Using getGlobalUserEnvironment

    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 getGlobalUserEnvironment(args: GetGlobalUserEnvironmentArgs, opts?: InvokeOptions): Promise<GetGlobalUserEnvironmentResult>
    function getGlobalUserEnvironmentOutput(args: GetGlobalUserEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetGlobalUserEnvironmentResult>
    def get_global_user_environment(environment_id: Optional[str] = None,
                                    expand: Optional[str] = None,
                                    user_name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetGlobalUserEnvironmentResult
    def get_global_user_environment_output(environment_id: Optional[pulumi.Input[str]] = None,
                                    expand: Optional[pulumi.Input[str]] = None,
                                    user_name: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetGlobalUserEnvironmentResult]
    func GetGlobalUserEnvironment(ctx *Context, args *GetGlobalUserEnvironmentArgs, opts ...InvokeOption) (*GetGlobalUserEnvironmentResult, error)
    func GetGlobalUserEnvironmentOutput(ctx *Context, args *GetGlobalUserEnvironmentOutputArgs, opts ...InvokeOption) GetGlobalUserEnvironmentResultOutput

    > Note: This function is named GetGlobalUserEnvironment in the Go SDK.

    public static class GetGlobalUserEnvironment 
    {
        public static Task<GetGlobalUserEnvironmentResult> InvokeAsync(GetGlobalUserEnvironmentArgs args, InvokeOptions? opts = null)
        public static Output<GetGlobalUserEnvironmentResult> Invoke(GetGlobalUserEnvironmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGlobalUserEnvironmentResult> getGlobalUserEnvironment(GetGlobalUserEnvironmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:labservices:getGlobalUserEnvironment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnvironmentId string
    The resourceId of the environment
    UserName string
    The name of the user.
    Expand string
    Specify the $expand query. Example: 'properties($expand=environment)'
    EnvironmentId string
    The resourceId of the environment
    UserName string
    The name of the user.
    Expand string
    Specify the $expand query. Example: 'properties($expand=environment)'
    environmentId String
    The resourceId of the environment
    userName String
    The name of the user.
    expand String
    Specify the $expand query. Example: 'properties($expand=environment)'
    environmentId string
    The resourceId of the environment
    userName string
    The name of the user.
    expand string
    Specify the $expand query. Example: 'properties($expand=environment)'
    environment_id str
    The resourceId of the environment
    user_name str
    The name of the user.
    expand str
    Specify the $expand query. Example: 'properties($expand=environment)'
    environmentId String
    The resourceId of the environment
    userName String
    The name of the user.
    expand String
    Specify the $expand query. Example: 'properties($expand=environment)'

    getGlobalUserEnvironment Result

    The following output properties are available:

    Environment EnvironmentDetailsResponse
    Details of the environment
    environment EnvironmentDetailsResponse
    Details of the environment
    environment EnvironmentDetailsResponse
    Details of the environment
    environment EnvironmentDetailsResponse
    Details of the environment
    environment Property Map
    Details of the environment

    Supporting Types

    EnvironmentDetailsResponse

    Description string
    Description of the Environment
    EnvironmentState string
    Publishing state of the environment setting Possible values are Creating, Created, Failed
    Id string
    Resource Id of the environment
    LatestOperationResult Pulumi.AzureNative.LabServices.Inputs.LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    Name string
    Name of the Environment
    PasswordLastReset string
    When the password was last reset on the environment.
    ProvisioningState string
    The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
    TotalUsage string
    How long the environment has been used by a lab user
    VirtualMachineDetails Pulumi.AzureNative.LabServices.Inputs.VirtualMachineDetailsResponse
    Details of backing DTL virtual machine with compute and network details.
    Description string
    Description of the Environment
    EnvironmentState string
    Publishing state of the environment setting Possible values are Creating, Created, Failed
    Id string
    Resource Id of the environment
    LatestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    Name string
    Name of the Environment
    PasswordLastReset string
    When the password was last reset on the environment.
    ProvisioningState string
    The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
    TotalUsage string
    How long the environment has been used by a lab user
    VirtualMachineDetails VirtualMachineDetailsResponse
    Details of backing DTL virtual machine with compute and network details.
    description String
    Description of the Environment
    environmentState String
    Publishing state of the environment setting Possible values are Creating, Created, Failed
    id String
    Resource Id of the environment
    latestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name String
    Name of the Environment
    passwordLastReset String
    When the password was last reset on the environment.
    provisioningState String
    The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
    totalUsage String
    How long the environment has been used by a lab user
    virtualMachineDetails VirtualMachineDetailsResponse
    Details of backing DTL virtual machine with compute and network details.
    description string
    Description of the Environment
    environmentState string
    Publishing state of the environment setting Possible values are Creating, Created, Failed
    id string
    Resource Id of the environment
    latestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name string
    Name of the Environment
    passwordLastReset string
    When the password was last reset on the environment.
    provisioningState string
    The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
    totalUsage string
    How long the environment has been used by a lab user
    virtualMachineDetails VirtualMachineDetailsResponse
    Details of backing DTL virtual machine with compute and network details.
    description str
    Description of the Environment
    environment_state str
    Publishing state of the environment setting Possible values are Creating, Created, Failed
    id str
    Resource Id of the environment
    latest_operation_result LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name str
    Name of the Environment
    password_last_reset str
    When the password was last reset on the environment.
    provisioning_state str
    The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
    total_usage str
    How long the environment has been used by a lab user
    virtual_machine_details VirtualMachineDetailsResponse
    Details of backing DTL virtual machine with compute and network details.
    description String
    Description of the Environment
    environmentState String
    Publishing state of the environment setting Possible values are Creating, Created, Failed
    id String
    Resource Id of the environment
    latestOperationResult Property Map
    The details of the latest operation. ex: status, error
    name String
    Name of the Environment
    passwordLastReset String
    When the password was last reset on the environment.
    provisioningState String
    The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
    totalUsage String
    How long the environment has been used by a lab user
    virtualMachineDetails Property Map
    Details of backing DTL virtual machine with compute and network details.

    LatestOperationResultResponse

    ErrorCode string
    Error code on failure.
    ErrorMessage string
    The error message.
    HttpMethod string
    The HttpMethod - PUT/POST/DELETE for the operation.
    OperationUrl string
    The URL to use to check long-running operation status
    RequestUri string
    Request URI of the operation.
    Status string
    The current status of the operation.
    ErrorCode string
    Error code on failure.
    ErrorMessage string
    The error message.
    HttpMethod string
    The HttpMethod - PUT/POST/DELETE for the operation.
    OperationUrl string
    The URL to use to check long-running operation status
    RequestUri string
    Request URI of the operation.
    Status string
    The current status of the operation.
    errorCode String
    Error code on failure.
    errorMessage String
    The error message.
    httpMethod String
    The HttpMethod - PUT/POST/DELETE for the operation.
    operationUrl String
    The URL to use to check long-running operation status
    requestUri String
    Request URI of the operation.
    status String
    The current status of the operation.
    errorCode string
    Error code on failure.
    errorMessage string
    The error message.
    httpMethod string
    The HttpMethod - PUT/POST/DELETE for the operation.
    operationUrl string
    The URL to use to check long-running operation status
    requestUri string
    Request URI of the operation.
    status string
    The current status of the operation.
    error_code str
    Error code on failure.
    error_message str
    The error message.
    http_method str
    The HttpMethod - PUT/POST/DELETE for the operation.
    operation_url str
    The URL to use to check long-running operation status
    request_uri str
    Request URI of the operation.
    status str
    The current status of the operation.
    errorCode String
    Error code on failure.
    errorMessage String
    The error message.
    httpMethod String
    The HttpMethod - PUT/POST/DELETE for the operation.
    operationUrl String
    The URL to use to check long-running operation status
    requestUri String
    Request URI of the operation.
    status String
    The current status of the operation.

    VirtualMachineDetailsResponse

    LastKnownPowerState string
    Last known compute power state captured in DTL
    PrivateIpAddress string
    PrivateIp address of the compute VM
    ProvisioningState string
    Provisioning state of the Dtl VM
    RdpAuthority string
    Connection information for Windows
    SshAuthority string
    Connection information for Linux
    UserName string
    Compute VM login user name
    LastKnownPowerState string
    Last known compute power state captured in DTL
    PrivateIpAddress string
    PrivateIp address of the compute VM
    ProvisioningState string
    Provisioning state of the Dtl VM
    RdpAuthority string
    Connection information for Windows
    SshAuthority string
    Connection information for Linux
    UserName string
    Compute VM login user name
    lastKnownPowerState String
    Last known compute power state captured in DTL
    privateIpAddress String
    PrivateIp address of the compute VM
    provisioningState String
    Provisioning state of the Dtl VM
    rdpAuthority String
    Connection information for Windows
    sshAuthority String
    Connection information for Linux
    userName String
    Compute VM login user name
    lastKnownPowerState string
    Last known compute power state captured in DTL
    privateIpAddress string
    PrivateIp address of the compute VM
    provisioningState string
    Provisioning state of the Dtl VM
    rdpAuthority string
    Connection information for Windows
    sshAuthority string
    Connection information for Linux
    userName string
    Compute VM login user name
    last_known_power_state str
    Last known compute power state captured in DTL
    private_ip_address str
    PrivateIp address of the compute VM
    provisioning_state str
    Provisioning state of the Dtl VM
    rdp_authority str
    Connection information for Windows
    ssh_authority str
    Connection information for Linux
    user_name str
    Compute VM login user name
    lastKnownPowerState String
    Last known compute power state captured in DTL
    privateIpAddress String
    PrivateIp address of the compute VM
    provisioningState String
    Provisioning state of the Dtl VM
    rdpAuthority String
    Connection information for Windows
    sshAuthority String
    Connection information for Linux
    userName String
    Compute VM login user name

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi