UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

102 lines (101 loc) 2.46 kB
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>; }