@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the properties of the specified user.
*
* Uses Azure REST API version 2023-07-01.
*
* Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databoxedge [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
export interface GetUserArgs {
/**
* The device name.
*/
deviceName: string;
/**
* The user name.
*/
name: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.
*/
export interface GetUserResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The password details.
*/
readonly encryptedPassword?: outputs.databoxedge.AsymmetricEncryptedSecretResponse;
/**
* The path ID that uniquely identifies the object.
*/
readonly id: string;
/**
* The object name.
*/
readonly name: string;
/**
* List of shares that the user has rights on. This field should not be specified during user creation.
*/
readonly shareAccessRights: outputs.databoxedge.ShareAccessRightResponse[];
/**
* Metadata pertaining to creation and last modification of User
*/
readonly systemData: outputs.databoxedge.SystemDataResponse;
/**
* The hierarchical type of the object.
*/
readonly type: string;
/**
* Type of the user.
*/
readonly userType: string;
}
/**
* Gets the properties of the specified user.
*
* Uses Azure REST API version 2023-07-01.
*
* Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databoxedge [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>;
export interface GetUserOutputArgs {
/**
* The device name.
*/
deviceName: pulumi.Input<string>;
/**
* The user name.
*/
name: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}