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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.devtestlab.getUser
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get user profile. Azure REST API version: 2018-09-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_name: Optional[str] = None,
             name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(expand: Optional[pulumi.Input[str]] = None,
             lab_name: Optional[pulumi.Input[str]] = None,
             name: Optional[pulumi.Input[str]] = None,
             resource_group_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)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:devtestlab:getUser
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LabName string
- The name of the lab.
- Name string
- The name of the user profile.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($select=identity)'
- LabName string
- The name of the lab.
- Name string
- The name of the user profile.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($select=identity)'
- labName String
- The name of the lab.
- name String
- The name of the user profile.
- resourceGroup StringName 
- The name of the resource group.
- expand String
- Specify the $expand query. Example: 'properties($select=identity)'
- labName string
- The name of the lab.
- name string
- The name of the user profile.
- resourceGroup stringName 
- The name of the resource group.
- expand string
- Specify the $expand query. Example: 'properties($select=identity)'
- lab_name str
- The name of the lab.
- name str
- The name of the user profile.
- resource_group_ strname 
- The name of the resource group.
- expand str
- Specify the $expand query. Example: 'properties($select=identity)'
- labName String
- The name of the lab.
- name String
- The name of the user profile.
- resourceGroup StringName 
- The name of the resource group.
- expand String
- Specify the $expand query. Example: 'properties($select=identity)'
getUser Result
The following output properties are available:
- CreatedDate string
- The creation date of the user profile.
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- ProvisioningState string
- The provisioning status of the resource.
- Type string
- The type of the resource.
- UniqueIdentifier string
- The unique immutable identifier of a resource (Guid).
- Identity
Pulumi.Azure Native. Dev Test Lab. Outputs. User Identity Response 
- The identity of the user.
- Location string
- The location of the resource.
- SecretStore Pulumi.Azure Native. Dev Test Lab. Outputs. User Secret Store Response 
- The secret store of the user.
- Dictionary<string, string>
- The tags of the resource.
- CreatedDate string
- The creation date of the user profile.
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- ProvisioningState string
- The provisioning status of the resource.
- Type string
- The type of the resource.
- UniqueIdentifier string
- The unique immutable identifier of a resource (Guid).
- Identity
UserIdentity Response 
- The identity of the user.
- Location string
- The location of the resource.
- SecretStore UserSecret Store Response 
- The secret store of the user.
- map[string]string
- The tags of the resource.
- createdDate String
- The creation date of the user profile.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- provisioningState String
- The provisioning status of the resource.
- type String
- The type of the resource.
- uniqueIdentifier String
- The unique immutable identifier of a resource (Guid).
- identity
UserIdentity Response 
- The identity of the user.
- location String
- The location of the resource.
- secretStore UserSecret Store Response 
- The secret store of the user.
- Map<String,String>
- The tags of the resource.
- createdDate string
- The creation date of the user profile.
- id string
- The identifier of the resource.
- name string
- The name of the resource.
- provisioningState string
- The provisioning status of the resource.
- type string
- The type of the resource.
- uniqueIdentifier string
- The unique immutable identifier of a resource (Guid).
- identity
UserIdentity Response 
- The identity of the user.
- location string
- The location of the resource.
- secretStore UserSecret Store Response 
- The secret store of the user.
- {[key: string]: string}
- The tags of the resource.
- created_date str
- The creation date of the user profile.
- id str
- The identifier of the resource.
- name str
- The name of the resource.
- provisioning_state str
- The provisioning status of the resource.
- type str
- The type of the resource.
- unique_identifier str
- The unique immutable identifier of a resource (Guid).
- identity
UserIdentity Response 
- The identity of the user.
- location str
- The location of the resource.
- secret_store UserSecret Store Response 
- The secret store of the user.
- Mapping[str, str]
- The tags of the resource.
- createdDate String
- The creation date of the user profile.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- provisioningState String
- The provisioning status of the resource.
- type String
- The type of the resource.
- uniqueIdentifier String
- The unique immutable identifier of a resource (Guid).
- identity Property Map
- The identity of the user.
- location String
- The location of the resource.
- secretStore Property Map
- The secret store of the user.
- Map<String>
- The tags of the resource.
Supporting Types
UserIdentityResponse  
- AppId string
- Set to the app Id of the client JWT making the request.
- ObjectId string
- Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
- PrincipalId string
- Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- PrincipalName string
- Set to the principal name / UPN of the client JWT making the request.
- TenantId string
- Set to the tenant ID of the client JWT making the request.
- AppId string
- Set to the app Id of the client JWT making the request.
- ObjectId string
- Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
- PrincipalId string
- Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- PrincipalName string
- Set to the principal name / UPN of the client JWT making the request.
- TenantId string
- Set to the tenant ID of the client JWT making the request.
- appId String
- Set to the app Id of the client JWT making the request.
- objectId String
- Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
- principalId String
- Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- principalName String
- Set to the principal name / UPN of the client JWT making the request.
- tenantId String
- Set to the tenant ID of the client JWT making the request.
- appId string
- Set to the app Id of the client JWT making the request.
- objectId string
- Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
- principalId string
- Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- principalName string
- Set to the principal name / UPN of the client JWT making the request.
- tenantId string
- Set to the tenant ID of the client JWT making the request.
- app_id str
- Set to the app Id of the client JWT making the request.
- object_id str
- Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
- principal_id str
- Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- principal_name str
- Set to the principal name / UPN of the client JWT making the request.
- tenant_id str
- Set to the tenant ID of the client JWT making the request.
- appId String
- Set to the app Id of the client JWT making the request.
- objectId String
- Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
- principalId String
- Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- principalName String
- Set to the principal name / UPN of the client JWT making the request.
- tenantId String
- Set to the tenant ID of the client JWT making the request.
UserSecretStoreResponse   
- KeyVault stringId 
- The ID of the user's Key vault.
- KeyVault stringUri 
- The URI of the user's Key vault.
- KeyVault stringId 
- The ID of the user's Key vault.
- KeyVault stringUri 
- The URI of the user's Key vault.
- keyVault StringId 
- The ID of the user's Key vault.
- keyVault StringUri 
- The URI of the user's Key vault.
- keyVault stringId 
- The ID of the user's Key vault.
- keyVault stringUri 
- The URI of the user's Key vault.
- key_vault_ strid 
- The ID of the user's Key vault.
- key_vault_ struri 
- The URI of the user's Key vault.
- keyVault StringId 
- The ID of the user's Key vault.
- keyVault StringUri 
- The URI of the user's Key vault.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi