Azure Native v1.103.0, Jun 2 23
Azure Native v1.103.0, Jun 2 23
azure-native.labservices.getGlobalUserEnvironment
Explore with Pulumi AI
Gets the virtual machine details 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:
- Environment
Id string The resourceId of the environment
- User
Name string The name of the user.
- Expand string
Specify the $expand query. Example: 'properties($expand=environment)'
- Environment
Id string The resourceId of the environment
- User
Name string The name of the user.
- Expand string
Specify the $expand query. Example: 'properties($expand=environment)'
- environment
Id String The resourceId of the environment
- user
Name String The name of the user.
- expand String
Specify the $expand query. Example: 'properties($expand=environment)'
- environment
Id string The resourceId of the environment
- user
Name 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)'
- environment
Id String The resourceId of the environment
- user
Name 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
Pulumi.
Azure Native. Lab Services. Outputs. Environment Details Response Details of the environment
- Environment
Environment
Details Response Details of the environment
- environment
Environment
Details Response Details of the environment
- environment
Environment
Details Response Details of the environment
- environment
Environment
Details Response Details of the environment
- environment Property Map
Details of the environment
Supporting Types
EnvironmentDetailsResponse
- Description string
Description of the Environment
- Environment
State string Publishing state of the environment setting Possible values are Creating, Created, Failed
- Id string
Resource Id of the environment
- Latest
Operation Pulumi.Result Azure Native. Lab Services. Inputs. Latest Operation Result Response The details of the latest operation. ex: status, error
- Name string
Name of the Environment
- Password
Last stringReset When the password was last reset on the environment.
- Provisioning
State string The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
- Total
Usage string How long the environment has been used by a lab user
- Virtual
Machine Pulumi.Details Azure Native. Lab Services. Inputs. Virtual Machine Details Response Details of backing DTL virtual machine with compute and network details.
- Description string
Description of the Environment
- Environment
State string Publishing state of the environment setting Possible values are Creating, Created, Failed
- Id string
Resource Id of the environment
- Latest
Operation LatestResult Operation Result Response The details of the latest operation. ex: status, error
- Name string
Name of the Environment
- Password
Last stringReset When the password was last reset on the environment.
- Provisioning
State string The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
- Total
Usage string How long the environment has been used by a lab user
- Virtual
Machine VirtualDetails Machine Details Response Details of backing DTL virtual machine with compute and network details.
- description String
Description of the Environment
- environment
State String Publishing state of the environment setting Possible values are Creating, Created, Failed
- id String
Resource Id of the environment
- latest
Operation LatestResult Operation Result Response The details of the latest operation. ex: status, error
- name String
Name of the Environment
- password
Last StringReset When the password was last reset on the environment.
- provisioning
State String The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
- total
Usage String How long the environment has been used by a lab user
- virtual
Machine VirtualDetails Machine Details Response Details of backing DTL virtual machine with compute and network details.
- description string
Description of the Environment
- environment
State string Publishing state of the environment setting Possible values are Creating, Created, Failed
- id string
Resource Id of the environment
- latest
Operation LatestResult Operation Result Response The details of the latest operation. ex: status, error
- name string
Name of the Environment
- password
Last stringReset When the password was last reset on the environment.
- provisioning
State string The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
- total
Usage string How long the environment has been used by a lab user
- virtual
Machine VirtualDetails Machine Details Response 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_ Latestresult Operation Result Response The details of the latest operation. ex: status, error
- name str
Name of the Environment
- password_
last_ strreset 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_ Virtualdetails Machine Details Response Details of backing DTL virtual machine with compute and network details.
- description String
Description of the Environment
- environment
State String Publishing state of the environment setting Possible values are Creating, Created, Failed
- id String
Resource Id of the environment
- latest
Operation Property MapResult The details of the latest operation. ex: status, error
- name String
Name of the Environment
- password
Last StringReset When the password was last reset on the environment.
- provisioning
State String The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
- total
Usage String How long the environment has been used by a lab user
- virtual
Machine Property MapDetails Details of backing DTL virtual machine with compute and network details.
LatestOperationResultResponse
- Error
Code string Error code on failure.
- Error
Message string The error message.
- Http
Method string The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string The URL to use to check long-running operation status
- Request
Uri string Request URI of the operation.
- Status string
The current status of the operation.
- Error
Code string Error code on failure.
- Error
Message string The error message.
- Http
Method string The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string The URL to use to check long-running operation status
- Request
Uri string Request URI of the operation.
- Status string
The current status of the operation.
- error
Code String Error code on failure.
- error
Message String The error message.
- http
Method String The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String The URL to use to check long-running operation status
- request
Uri String Request URI of the operation.
- status String
The current status of the operation.
- error
Code string Error code on failure.
- error
Message string The error message.
- http
Method string The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url string The URL to use to check long-running operation status
- request
Uri 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.
- error
Code String Error code on failure.
- error
Message String The error message.
- http
Method String The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String The URL to use to check long-running operation status
- request
Uri String Request URI of the operation.
- status String
The current status of the operation.
VirtualMachineDetailsResponse
- Last
Known stringPower State Last known compute power state captured in DTL
- Private
Ip stringAddress PrivateIp address of the compute VM
- Provisioning
State string Provisioning state of the Dtl VM
- string
Connection information for Windows
- string
Connection information for Linux
- User
Name string Compute VM login user name
- Last
Known stringPower State Last known compute power state captured in DTL
- Private
Ip stringAddress PrivateIp address of the compute VM
- Provisioning
State string Provisioning state of the Dtl VM
- string
Connection information for Windows
- string
Connection information for Linux
- User
Name string Compute VM login user name
- last
Known StringPower State Last known compute power state captured in DTL
- private
Ip StringAddress PrivateIp address of the compute VM
- provisioning
State String Provisioning state of the Dtl VM
- String
Connection information for Windows
- String
Connection information for Linux
- user
Name String Compute VM login user name
- last
Known stringPower State Last known compute power state captured in DTL
- private
Ip stringAddress PrivateIp address of the compute VM
- provisioning
State string Provisioning state of the Dtl VM
- string
Connection information for Windows
- string
Connection information for Linux
- user
Name string Compute VM login user name
- last_
known_ strpower_ state Last known compute power state captured in DTL
- private_
ip_ straddress PrivateIp address of the compute VM
- provisioning_
state str Provisioning state of the Dtl VM
- str
Connection information for Windows
- str
Connection information for Linux
- user_
name str Compute VM login user name
- last
Known StringPower State Last known compute power state captured in DTL
- private
Ip StringAddress PrivateIp address of the compute VM
- provisioning
State String Provisioning state of the Dtl VM
- String
Connection information for Windows
- String
Connection information for Linux
- user
Name String Compute VM login user name
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0