1. Packages
  2. Azure Native v1
  3. API Docs
  4. labservices
  5. getUser
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.labservices.getUser

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get user API Version: 2018-10-15.

    Using getUser

    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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
    function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
    def get_user(expand: Optional[str] = None,
                 lab_account_name: Optional[str] = None,
                 lab_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 user_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetUserResult
    def get_user_output(expand: Optional[pulumi.Input[str]] = None,
                 lab_account_name: Optional[pulumi.Input[str]] = None,
                 lab_name: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 user_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
    func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
    func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput

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

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

    The following arguments are supported:

    LabAccountName string
    The name of the lab Account.
    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    UserName string
    The name of the user.
    Expand string
    Specify the $expand query. Example: 'properties($select=email)'
    LabAccountName string
    The name of the lab Account.
    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    UserName string
    The name of the user.
    Expand string
    Specify the $expand query. Example: 'properties($select=email)'
    labAccountName String
    The name of the lab Account.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.
    userName String
    The name of the user.
    expand String
    Specify the $expand query. Example: 'properties($select=email)'
    labAccountName string
    The name of the lab Account.
    labName string
    The name of the lab.
    resourceGroupName string
    The name of the resource group.
    userName string
    The name of the user.
    expand string
    Specify the $expand query. Example: 'properties($select=email)'
    lab_account_name str
    The name of the lab Account.
    lab_name str
    The name of the lab.
    resource_group_name str
    The name of the resource group.
    user_name str
    The name of the user.
    expand str
    Specify the $expand query. Example: 'properties($select=email)'
    labAccountName String
    The name of the lab Account.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.
    userName String
    The name of the user.
    expand String
    Specify the $expand query. Example: 'properties($select=email)'

    getUser Result

    The following output properties are available:

    Email string
    The user email address, as it was specified during registration.
    FamilyName string
    The user family name, as it was specified during registration.
    GivenName string
    The user given name, as it was specified during registration.
    Id string
    The identifier of the resource.
    LatestOperationResult Pulumi.AzureNative.LabServices.Outputs.LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    Name string
    The name of the resource.
    TenantId string
    The user tenant ID, as it was specified during registration.
    TotalUsage string
    How long the user has used his VMs in this lab
    Type string
    The type of the resource.
    Location string
    The location of the resource.
    ProvisioningState string
    The provisioning status of the resource.
    Tags Dictionary<string, string>
    The tags of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    Email string
    The user email address, as it was specified during registration.
    FamilyName string
    The user family name, as it was specified during registration.
    GivenName string
    The user given name, as it was specified during registration.
    Id string
    The identifier of the resource.
    LatestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    Name string
    The name of the resource.
    TenantId string
    The user tenant ID, as it was specified during registration.
    TotalUsage string
    How long the user has used his VMs in this lab
    Type string
    The type of the resource.
    Location string
    The location of the resource.
    ProvisioningState string
    The provisioning status of the resource.
    Tags map[string]string
    The tags of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    email String
    The user email address, as it was specified during registration.
    familyName String
    The user family name, as it was specified during registration.
    givenName String
    The user given name, as it was specified during registration.
    id String
    The identifier of the resource.
    latestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name String
    The name of the resource.
    tenantId String
    The user tenant ID, as it was specified during registration.
    totalUsage String
    How long the user has used his VMs in this lab
    type String
    The type of the resource.
    location String
    The location of the resource.
    provisioningState String
    The provisioning status of the resource.
    tags Map<String,String>
    The tags of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).
    email string
    The user email address, as it was specified during registration.
    familyName string
    The user family name, as it was specified during registration.
    givenName string
    The user given name, as it was specified during registration.
    id string
    The identifier of the resource.
    latestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name string
    The name of the resource.
    tenantId string
    The user tenant ID, as it was specified during registration.
    totalUsage string
    How long the user has used his VMs in this lab
    type string
    The type of the resource.
    location string
    The location of the resource.
    provisioningState string
    The provisioning status of the resource.
    tags {[key: string]: string}
    The tags of the resource.
    uniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    email str
    The user email address, as it was specified during registration.
    family_name str
    The user family name, as it was specified during registration.
    given_name str
    The user given name, as it was specified during registration.
    id str
    The identifier of the resource.
    latest_operation_result LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name str
    The name of the resource.
    tenant_id str
    The user tenant ID, as it was specified during registration.
    total_usage str
    How long the user has used his VMs in this lab
    type str
    The type of the resource.
    location str
    The location of the resource.
    provisioning_state str
    The provisioning status of the resource.
    tags Mapping[str, str]
    The tags of the resource.
    unique_identifier str
    The unique immutable identifier of a resource (Guid).
    email String
    The user email address, as it was specified during registration.
    familyName String
    The user family name, as it was specified during registration.
    givenName String
    The user given name, as it was specified during registration.
    id String
    The identifier of the resource.
    latestOperationResult Property Map
    The details of the latest operation. ex: status, error
    name String
    The name of the resource.
    tenantId String
    The user tenant ID, as it was specified during registration.
    totalUsage String
    How long the user has used his VMs in this lab
    type String
    The type of the resource.
    location String
    The location of the resource.
    provisioningState String
    The provisioning status of the resource.
    tags Map<String>
    The tags of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).

    Supporting Types

    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.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi