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.devtestlab.getUser
Explore with Pulumi AI
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 profile. 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:devtestlab:getUser
arguments:
# arguments dictionary
The following arguments are supported:
- Lab
Name string - The name of the lab.
- Name string
- The name of the user profile.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($select=identity)'
- Lab
Name string - The name of the lab.
- Name string
- The name of the user profile.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($select=identity)'
- lab
Name String - The name of the lab.
- name String
- The name of the user profile.
- resource
Group StringName - The name of the resource group.
- expand String
- Specify the $expand query. Example: 'properties($select=identity)'
- lab
Name string - The name of the lab.
- name string
- The name of the user profile.
- resource
Group 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)'
- lab
Name String - The name of the lab.
- name String
- The name of the user profile.
- resource
Group 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:
- Created
Date string - The creation date of the user profile.
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier 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.
- Secret
Store 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.
- Created
Date string - The creation date of the user profile.
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Identity
User
Identity Response - The identity of the user.
- Location string
- The location of the resource.
- Secret
Store UserSecret Store Response - The secret store of the user.
- map[string]string
- The tags of the resource.
- created
Date String - The creation date of the user profile.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- identity
User
Identity Response - The identity of the user.
- location String
- The location of the resource.
- secret
Store UserSecret Store Response - The secret store of the user.
- Map<String,String>
- The tags of the resource.
- created
Date string - The creation date of the user profile.
- id string
- The identifier of the resource.
- name string
- The name of the resource.
- provisioning
State string - The provisioning status of the resource.
- type string
- The type of the resource.
- unique
Identifier string - The unique immutable identifier of a resource (Guid).
- identity
User
Identity Response - The identity of the user.
- location string
- The location of the resource.
- secret
Store 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
User
Identity 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.
- created
Date String - The creation date of the user profile.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- identity Property Map
- The identity of the user.
- location String
- The location of the resource.
- secret
Store Property Map - The secret store of the user.
- Map<String>
- The tags of the resource.
Supporting Types
UserIdentityResponse
- App
Id string - Set to the app Id of the client JWT making the request.
- Object
Id 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.
- Principal
Id string - Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- Principal
Name string - Set to the principal name / UPN of the client JWT making the request.
- Tenant
Id string - Set to the tenant ID of the client JWT making the request.
- App
Id string - Set to the app Id of the client JWT making the request.
- Object
Id 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.
- Principal
Id string - Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- Principal
Name string - Set to the principal name / UPN of the client JWT making the request.
- Tenant
Id string - Set to the tenant ID of the client JWT making the request.
- app
Id String - Set to the app Id of the client JWT making the request.
- object
Id 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.
- principal
Id String - Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- principal
Name String - Set to the principal name / UPN of the client JWT making the request.
- tenant
Id String - Set to the tenant ID of the client JWT making the request.
- app
Id string - Set to the app Id of the client JWT making the request.
- object
Id 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.
- principal
Id string - Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- principal
Name string - Set to the principal name / UPN of the client JWT making the request.
- tenant
Id 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.
- app
Id String - Set to the app Id of the client JWT making the request.
- object
Id 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.
- principal
Id String - Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
- principal
Name String - Set to the principal name / UPN of the client JWT making the request.
- tenant
Id String - Set to the tenant ID of the client JWT making the request.
UserSecretStoreResponse
- Key
Vault stringId - The ID of the user's Key vault.
- Key
Vault stringUri - The URI of the user's Key vault.
- Key
Vault stringId - The ID of the user's Key vault.
- Key
Vault stringUri - The URI of the user's Key vault.
- key
Vault StringId - The ID of the user's Key vault.
- key
Vault StringUri - The URI of the user's Key vault.
- key
Vault stringId - The ID of the user's Key vault.
- key
Vault 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.
- key
Vault StringId - The ID of the user's Key vault.
- key
Vault StringUri - The URI of the user's Key vault.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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