1. Packages
  2. Azure Native
  3. API Docs
  4. labservices
  5. listGlobalUserEnvironments
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.labservices.listGlobalUserEnvironments

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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    List Environments for the user Azure REST API version: 2018-10-15.

    Using listGlobalUserEnvironments

    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 listGlobalUserEnvironments(args: ListGlobalUserEnvironmentsArgs, opts?: InvokeOptions): Promise<ListGlobalUserEnvironmentsResult>
    function listGlobalUserEnvironmentsOutput(args: ListGlobalUserEnvironmentsOutputArgs, opts?: InvokeOptions): Output<ListGlobalUserEnvironmentsResult>
    def list_global_user_environments(lab_id: Optional[str] = None,
                                      user_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> ListGlobalUserEnvironmentsResult
    def list_global_user_environments_output(lab_id: Optional[pulumi.Input[str]] = None,
                                      user_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[ListGlobalUserEnvironmentsResult]
    func ListGlobalUserEnvironments(ctx *Context, args *ListGlobalUserEnvironmentsArgs, opts ...InvokeOption) (*ListGlobalUserEnvironmentsResult, error)
    func ListGlobalUserEnvironmentsOutput(ctx *Context, args *ListGlobalUserEnvironmentsOutputArgs, opts ...InvokeOption) ListGlobalUserEnvironmentsResultOutput

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

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

    The following arguments are supported:

    UserName string
    The name of the user.
    LabId string
    The resource Id of the lab
    UserName string
    The name of the user.
    LabId string
    The resource Id of the lab
    userName String
    The name of the user.
    labId String
    The resource Id of the lab
    userName string
    The name of the user.
    labId string
    The resource Id of the lab
    user_name str
    The name of the user.
    lab_id str
    The resource Id of the lab
    userName String
    The name of the user.
    labId String
    The resource Id of the lab

    listGlobalUserEnvironments Result

    The following output properties are available:

    Environments []EnvironmentDetailsResponse
    List of all the environments
    environments EnvironmentDetailsResponse[]
    List of all the environments
    environments List<Property Map>
    List of all the environments

    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi