@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get user profile.
*
* Uses Azure REST API version 2018-09-15.
*/
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
export interface GetUserArgs {
/**
* Specify the $expand query. Example: 'properties($select=identity)'
*/
expand?: string;
/**
* The name of the lab.
*/
labName: string;
/**
* The name of the User
*/
name: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Profile of a lab user.
*/
export interface GetUserResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The creation date of the user profile.
*/
readonly createdDate: string;
/**
* The identifier of the resource.
*/
readonly id: string;
/**
* The identity of the user.
*/
readonly identity?: outputs.devtestlab.UserIdentityResponse;
/**
* The location of the resource.
*/
readonly location?: string;
/**
* The name of the resource.
*/
readonly name: string;
/**
* The provisioning status of the resource.
*/
readonly provisioningState: string;
/**
* The secret store of the user.
*/
readonly secretStore?: outputs.devtestlab.UserSecretStoreResponse;
/**
* The tags of the resource.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource.
*/
readonly type: string;
/**
* The unique immutable identifier of a resource (Guid).
*/
readonly uniqueIdentifier: string;
}
/**
* Get user profile.
*
* Uses Azure REST API version 2018-09-15.
*/
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>;
export interface GetUserOutputArgs {
/**
* Specify the $expand query. Example: 'properties($select=identity)'
*/
expand?: pulumi.Input<string>;
/**
* The name of the lab.
*/
labName: pulumi.Input<string>;
/**
* The name of the User
*/
name: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}